Character Mode Commands: 64X32 Ezdisplay Command List V.25.E 04212021
Character Mode Commands: 64X32 Ezdisplay Command List V.25.E 04212021
E 04212021
1. ATec=(Backgroung 0~255)
*Backgroung 0~255: ref to COLOR CODE Table
Set background color of Character mode 2. Wait until receive a module available byte ('E') from ezDisplay printf("atec=(0)");
0xec
(default is 0, which is black) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATef=(Color 0~255)
*Color 0~255: ref to COLOR CODE Table
printf("atef=(3)");
Set character color of Character mode 2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xef
<example>
ATef=(32) : '32' red color
printf("at80=(%d,%d,%d)",Line,Column,Character);
1. AT80=(line,column,Character) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
2. Wait until receive a module available byte ('E') from ezDisplay or a 5ms
0x80 Write a 5X7 delay or input directly
Character
<example> printf("at80=(0,0,A)");
AT80=(0,0,A) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
printf("at81=(%d,%d,%s)",Line,Column,String);
1. AT81=(line,column,String) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
2. Wait until receive a module available byte ('E') from ezDisplay or a 5ms or
Write a 5X7 delay printf("at81=(%d,%d,%d)",Line,Column,Value);
String while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
or
0x81 <example> printf("at81=(%d,%d,%f)",Line,Column,Float);
AT81=(0,0,ABCD1234) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
or input directly
printf("at81=(0,0,ABCD9876%$)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. AT82=(line,column,Character) printf("at82=(%d,%d,%d)",Line,Column,Character);
Write a 8X16 2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Character
0x82 or input directly
<example>
AT82=(0,0,A) printf("at82=(0,0,A)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. AT83=(line,column,String) printf("at81=(%d,%d,%s)",Line,Column,String);
Write a 8X16 2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
String or
printf("at81=(%d,%d,%d)",Line,Column,Value);
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT83=(0,0,ABCD1234) or
0x83 printf("at81=(%d,%d,%f)",Line,Column,Value);
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
or input directly
printf("at81=(0,0,ABCD9876%$)");
while (USART_ReceiveData(UART1) != 'E') {}
Send Image 1. A "for" loop to send 2048 bytes user define display information for (i = 0 ; i < 2048; i++)
(64x32 332/RGB bitmap) to LED Display 2. Wait until receive a module available byte ('E') from ezDisplay or a 100ms {
N/A delay Serial.write(User_define_array[i]);
(An array consist of 2048 bytes bitmap) }
while (Serial.read() !='E') {} or a 100ms delay
printf("at91=(0,0,55,7,2)");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT91=(0,0,55,7,2) : '2' blue color
printf("at92=(0,0,55,7,2)");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT92=(1,1,54,6,32) : '32' red color
1. AT93=(X position,Y position,Width,0~255) printf("at93=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,Width,Color_code);
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
*0~255: ref to COLOR CODE Table
Draw a Square or input directly
0x93 2. Wait until receive a module available byte ('E') from ezDisplay
printf("at93=(48,1,4,2");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT93=(48,1,4,2) : '2' blue color
printf("at94=(48,4,3,2");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT94=(48,4,3,2) : '2' blue color
printf("at95=(48,4,3,4");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT95=(48,4,3,4) : '4' green color
printf("at96=(48,1,3,4");
<RGB LED example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT96=(48,1,3,4) : '4' green color
printf("at97=(48,1,3,32");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT97=(48,1,3,32) : '32' red color
printf("at99=(48,1,3,4");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT99=(48,6,3,4) : '4' green color
<example> printf("at9a=(48,1,3,4");
AT9a=(48,4,2,4) : '4' green color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example> printf("at9c=(48,1,3,4");
AT9c=(48,4,2,4) : '4' green color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
printf("at9d=(48,1,3,4");
<RGB LED example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT9d=(48,4,2,4) : '4' green color
1. ATa0=(Speed in ms)
2. Wait until receive a module available byte ('E') from ezDisplay printf("ata0=(%d)",speed);
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xa0 Display image row by row Up Ward
<example> or input directly
ATa0=(20)
printf("ata0=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xa6 Erase image column by column Left Ward <example> or input directly
ATa6=(20)
printf("ata6=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATac=()
1. ATad=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atad=()");
Shift one row down while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xad
<example>
ATad=()
1. ATae=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atae=()");
0xae Shift one column left while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATae=()
1. ATaf=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("ataf=()");
0xaf Shift one column right while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATaf=()
1. ATbc=(0 for without empty page , 1 for with empty page) printf("atbc=(1)");
2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xbc or
Set scroll flag for pattern edit
<example> printf("atbc=(0)");
ATbc=(0) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATbe=(1~10) printf("atbe=(5)");
2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xbe Set Page interval of multi-page animation or
<example>
ATbe=(5) printf("atbe=(10)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATbf=(1~10) printf("atbf=(1)");
2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATd6=(upper left corner X, upper left corner Y, lower right corner X, lower
right corner Y,shift time in ms)
2. Wait until receive a module available byte ('E') from ezDisplay
0xd6 Scroll section display upward printf("atd6=(18,3,55,28,10)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
< example>
ATd6=(18,3,55,28,10)
1. ATd7=(upper left corner X, upper left corner Y, lower right corner X, lower
right corner Y,shift time in ms)
2. Wait until receive a module available byte ('E') from ezDisplay printf("atd7=(18,3,55,28,10)");
0xd7 Scroll section display downward while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
< example>
ATd7=(18,3,55,28,10)
1. ATd8=(upper left corner X, upper left corner Y, lower right corner X, lower
right corner Y,shift time in ms)
2. Wait until receive a module available byte ('E') from ezDisplay
0xd8 Scroll section display leftward printf("atd8=(18,3,55,28,10)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
< example>
ATd8=(18,3,55,28,10)
1. ATd9=(upper left corner X, upper left corner Y, lower right corner X, lower
right corner Y,shift time in ms)
2. Wait until receive a module available byte ('E') from ezDisplay
0xd9 Scroll section display rightward printf("atd9=(18,3,55,28,10)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
< example>
ATd9=(18,3,55,28,10)
Remark:
0 : Static display , frame fixed / no moving Remark:
1 : Single page fade in / fade out 16 : Multi pages scroll up
2 : Single page scroll up 17 : Multi pages scroll down
0xfd 3 : Single page scroll down 18 : Multi pages scroll left
4 : Single page scroll left 19 : Multi pages scroll right
5 : Single page scroll right 20 : Multi pages display in sequence
6 : Single page scroll flash 21 : Multi pages fade in / fade out
7 : Single page fly in from top 22 : Multi pages fly in from top
8 : Single page fly in from bottom 23 : Multi pages fly in from bottom
9 : Single page fly in from left 24 : Multi pages fly in from left
10 : Single page fly in from right 25 : Multi pages fly in from right
11 : Single page fly in from top left 26 : Multi pages fly in from top left
12 : Single page fly in from top right 27 : Multi pages fly in from top right
13 : Single page fly in from bottom left 28 : Multi pages fly in from bottom left
14 : Single page fly in from bottom right 29 : Multi pages fly in from bottom right
15 : Single page fly in from 8 different directions
1. ATc1=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc1=()");
0xc1 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc1=()
1. ATc2=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc2=()");
0xc2 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc2=()
1. ATc3=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc3=()");
0xc3 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc3=()
1. ATc4=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc4=()");
0xc4 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc4=()
1. ATc5=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc5=()");
0xc5 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc5=()
1. ATc6=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc6=()");
0xc6 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc6=()
1. ATc7=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc7=()");
0xc7 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc7=()
1. ATc8=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc8=()");
0xc8 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc8=()
1. ATc9=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atc9=()");
0xc9 Change color of all pixels except the black color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
pixels to random color pattern 1
<example>
ATc9=()
1. ATca=()
Change color of all pixels except the black color 2. Wait until receive a module available byte ('E') from ezDisplay printf("atca=()");
0xca pixels to random color pattern 1 while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATca=()
<example>
ATcf=(32,10,8,8,32,3)
1. ATd1=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atd1=()");
0xd1 while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Show the data in the display memory
<example>
ATd1=()
0xee Set a Color Pixel 2. Wait until receive a module available byte ('E') from ezDisplay printf("atee=(48,6,96)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATf0=()
2. Wait until receive a module available byte ('E') from ezDisplay
0xf0 printf("atf0=()");
Turn display Off while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATf0=()
1. ATf1=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atf1=()");
0xf1 while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Turn display On
<example>
ATf1=()
1. ATf7=(0 or 1 )
* 0 stands for 256x32, 1 stands for 128x64 , 2 stands for 64x64
0xf7 Change the configuration mode 2. Wait until receive a module available byte ('E') from ezDisplay
(only available for 64x64, 256x32 and 128x64 printf("atf7=(0)");
resolution) <example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
ATf7=(1) : Change to 128x64 configuration.
1. ATfe=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atfe=(0)");
0xfe Write dipslay contents to current displayed EEPROM while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
page address <example>
ATfe=()
Advanced User Define Pattern Commands
It is recommanded to use the "pattern tool" of Lumex's ezDisplay console software to design the user define pattern.
When project moves into mass production phase please console Lumex for the technique of how to store user pattern in EEPROM
Code Function Instruction of AT Command mode API for C ( using STM32F030 as an example)
1. AT20=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("at20=()");
0x20 Display firmware Revision while (USART_ReceiveData(UART1)!= 'E') {} or a 5ms delay
<example>
AT20=()
<example>
( available for 5x5, 8x8, 12x12, and 16x16 pattern AT29=(16,32,8,8,1)
size)
Read back a user defined 1. AT2a=(pattern's Column size, Pattern's Row size, Pattern ID)
pattern from eeprom 2. Wait until receive a module available byte ('E') from ezDisplay printf("at2a=(%d,%d,%d)",Column_Size,Row_Size,Pattern_ID);
0x2a while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
(available for 5x5, 8x8, 12x12, and 16x16 pattern
size) <example>
AT8a=(8,8,0)
1. AT2c=()
2. Wait until receive a module available byte ('E') from ezDisplay
0x2c Store the current display contents to temporary printf("at2c=()" );
memory while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT2c=()
1. AT2d=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("at2d=()" );
0x2d Retrieve the temporary memory as displayed while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
contents
<example>
AT2c=()
1. AT2e=(X position,Y position,pattern's Column size, Pattern's Row
size,pattern ID)
Dsiplay muiti patterns to designated 2. Wait until receive a module available byte ('E') from ezDisplay printf("at2e=(16,32,5,5,0)") ;
coordinate in background from eeprom or RAM 3. AT2e=(X position,Y position,pattern's Column size, Pattern's Row size, while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0x2e pattern ID))
4. Wait until receive a module available byte ('E') from ezDisplay printf("at2e=(32,32,5,5,1)") ;
(available for 5x5, 8x8, 12x12, and 16x16 pattern while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
size) <example>
AT8e=(16,32,5,5,0)
AT8e=(32,32,5,5,1)
1. AT2f=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("at2f=()" );
0x2f Display the multi patterns input result in background while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT2f=()
<example>
AT32=(8,8,1)
<example>
AT33=(8,8,1)
<example>
AT34=(8,8,1)
<example>
AT35=(8,8,1)
Read back a 1. AT8a=(X position,Y position,pattern's Column size, Pattern's Row size)
pattern's color at designated coordinate of display 2. Wait until receive a module available byte ('E') from ezDisplay
0x8a memory printf("at8a=(%d,%d,%d)",X_coordinate,Y_coordinate,Column_Size,Row_Size);
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT8a=(16,32,8,8)
1. AT8d=()
2. Wait until receive a module available byte ('E') from ezDisplay
0x8d Retrieve the temporary memory as displayed printf("at8d=()");
contents while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT8d=()
1. AT8f=()
2. Wait until receive a module available byte ('E') from ezDisplay
0x8f Display the multi patterns input result in background printf("at8f=()");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT8f=()