Code Function Instruction of AT Command mode API for Arduino ( AT Command mode)
N/A
Send Image
(64x32 332/RGB bitmap) to LED Display
(An array consist of 2048 bytes bitmap)
1. A "for" loop to send 2048 bytes user define display information
2. Wait until receive a module available byte ('E') from ezDisplay
for (i = 0 ; i < 2048; i++)
{
Serial.write(User_define_array[i]);
}
while (Serial.read() !='E') {}
0x20 Display firmware Revision
1. AT20=()
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT20=()
Write_AT_Command("AT20=()")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x21
Define the user pattern's upper left X coordinate that is
going to place
1. AT21=( pattern's upper left X coordinate)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT21=(16)
Write_AT_Command("AT21=(16)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x22
Define the user pattern's upper left Y coordinate that is
going to place
1. AT22=( pattern's upper left Y coordinate)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT22=(16)
Write_AT_Command("AT22=(16)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x23 Define the size of user pattern
1. AT23=(Pattern's Column size, Patterm's Row size)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT23=(12,12)
Write_AT_Command("AT23=(12,12)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x24 Define the color depth of pattern
1. AT24=(Pattern's color bits depth 1,2,3,8,or24)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT24=(8)
Write_AT_Command("AT24=(8)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x25 Enable or Disable the "store pattern into to eeprom flag"
1. AT25=(1 for Enable / 0 for Disable)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT25=(1)
Write_AT_Command("AT25=(1)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
ezDisplay RGB LED Display Command List V.17.E 03152019
0x26
Define the pattern ID of the pattern that is going to be
stored
1. AT26=(pattern ID strat from 0 to 49)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT26=(0)
Write_AT_Command("AT26=(0)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x27 Define reading the pattern from RAM or eeprom
1. AT27=(1 from RAM / 0 for eeprom)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT27=(1)
Write_AT_Command("AT27=(1)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x29
Dsiplay one
user deifined pattern from eeprom or RAM to designated
coordinate
(only available for 5x5, 8x8, 12x12, and 16x16 pattern
size)
(not available for
96x8 RGB LED)
1. AT29=(X position,Y position,pattern's Column size, Pattern's Row size, pattern's ID)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT29=(16,32,8,8,1)
Write_AT_Command("AT29=(16,32,8,8,1)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x2a
Read back a user defined
pattern from eeprom
(only available for 5x5, 8x8, 12x12, and 16x16 pattern
size)
(not available for
96x8 RGB LED)
1. AT2a=(pattern's Column size, Pattern's Row size, Pattern ID)
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT2a=(8,8,0)
Write_AT_Command("AT2a=(8,8,0)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x2b
Define the pattern is overwrite or overlap to the placed
area
1. AT2b=(0 for overwrite / 1 for overlapping )
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT2b=(1)
Write_AT_Command("AT2b=(0)")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x2c
Store the current display contents to temporary memory
1. AT2c=()
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT2c=()
Write_AT_Command("AT2c=()")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}
0x2d
Retrieve the temporary memory as displayed contents
1. AT2d=()
2. Wait until receive a module available byte ('E') from ezDisplay
<example>
AT2d=()
Write_AT_Command("AT2d=()")
void Write_AT_Command(char *string)
{
Serial.print(string);
while (Serial.read() != 'E') {}
}