0% found this document useful (0 votes)
58 views

Character Mode Commands: 64X32 Ezdisplay Command List V.25.E 04212021

This document provides a summary of character and graphic mode commands for an ezDisplay module. It lists the AT command code, function, instruction format, and example API code for each command in C using an STM32 microcontroller. The commands allow setting character/background colors, writing characters and strings, drawing lines, and sending bitmap images to the display. Parameters include coordinates, colors, and character/string data. The API code shows transmitting the commands and parameters over UART and waiting for confirmation.

Uploaded by

Rizwan Ahmad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

Character Mode Commands: 64X32 Ezdisplay Command List V.25.E 04212021

This document provides a summary of character and graphic mode commands for an ezDisplay module. It lists the AT command code, function, instruction format, and example API code for each command in C using an STM32 microcontroller. The commands allow setting character/background colors, writing characters and strings, drawing lines, and sending bitmap images to the display. Parameters include coordinates, colors, and character/string data. The API code shows transmitting the commands and parameters over UART and waiting for confirmation.

Uploaded by

Rizwan Ahmad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

64x32 ezDisplay Command List V.25.

E 04212021

Character Mode Commands


Code Function Instruction of AT Command mode API for C ( using STM32F030 as an example)

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

<RGB LED example>


ATec=(11) : '11' cyan color

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') {}

Graphic Mode Commands


Code Function Instruction of AT Command mode API for C ( using STM32F030 as an example)

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

1. AT90=(X0 position,Y0 position,X1 position,Y1 position,0~255) printf("at90=(%d,%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,Xcoordinate2,Ycoordinate2,Color_code);


while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
*0~255: ref to COLOR CODE Table
Draw a line or input directly
0x90 2. Wait until receive a module available byte ('E') from ezDisplay
printf("at90=(1,4,54,4,4)");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT90=(1,4,54,4,4) : '4' green color

1. AT91=(X0 position,Y0 position,X1 position,Y1 position,0~255)


printf("at91=(%d,%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,Xcoordinate2,Ycoordinate2,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a Rectangle
0x91 2. Wait until receive a module available byte ('E') from ezDisplay or input directly

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

1. AT92=(X0 position,Y0 position,X1 position,Y1 position,0~255)


printf("at92=(%d,%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,Xcoordinate2,Ycoordinate2,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a filled Rectangle
0x92 2. Wait until receive a module available byte ('E') from ezDisplay or input directly

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

1. AT94=(X position,Y position,Radius,0~255)


printf("at94=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,Radius,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a Circle
0x94 2. Wait until receive a module available byte ('E') from ezDisplay or input directly

printf("at94=(48,4,3,2");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT94=(48,4,3,2) : '2' blue color

1. AT95=(X position,Y position,Radius,0~255)


printf("at95=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,Radius,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a filled Circle
0x95 2. Wait until receive a module available byte ('E') from ezDisplay or input directly

printf("at95=(48,4,3,4");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT95=(48,4,3,4) : '4' green color

1. AT96=(X position,Y position,Height,0~255)


printf("at96=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a tip upward Triangle
0x96 or input directly
2. Wait until receive a module available byte ('E') from ezDisplay

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

1. AT97=(X position,Y position,Height,0~255)


printf("at97=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a filled tip upward Triangle
0x97 2. Wait until receive a module available byte ('E') from ezDisplay or input directly

printf("at97=(48,1,3,32");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT97=(48,1,3,32) : '32' red color

1. AT98=(X position,Y position,Height,0~255) printf("at98=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);


while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
*0~255: ref to COLOR CODE Table
Draw a tip downward Triangle or input directly
0x98
2. Wait until receive a module available byte ('E') from ezDisplay
printf("at98=(48,1,3,4");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT98=(48,6,3,4) : '4' green color
1. AT99=(X position,Y position,Height,0~255)
printf("at99=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a filled tip downward Triangle
0x99 2. Wait until receive a module available byte ('E') from ezDisplay or input directly

printf("at99=(48,1,3,4");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT99=(48,6,3,4) : '4' green color

1. AT9a=(X position,Y position,Width,0~255)


printf("at9a=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0x9a
Draw a tip leftward Triangle 2. Wait until receive a module available byte ('E') from ezDisplay or input directly

<example> printf("at9a=(48,1,3,4");
AT9a=(48,4,2,4) : '4' green color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. AT9b=(X position,Y position,Width,0~255)


printf("at9b=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Draw a filled tip leftward Triangle
0x9b 2. Wait until receive a module available byte ('E') from ezDisplay or input directly
3. Wait 2ms
printf("at9b=(48,1,3,4");
<example> while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
AT9b=(48,4,2,4) : '4' green color

1. AT9c=(X position,Y position,Width, 0~255)


printf("at9c=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0x9c Draw a tip rightward Triangle
2. Wait until receive a module available byte ('E') from ezDisplay or input directly

<example> printf("at9c=(48,1,3,4");
AT9c=(48,4,2,4) : '4' green color while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. AT9d=(X position,Y position,Width,0~255)


printf("at9d=(%d,%d,%d,%d)",Xcoordinate1,Ycoordinate1,height,Color_code);
*0~255: ref to COLOR CODE Table while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0x9d Draw a filled tip rightward Triangle or input directly
2. Wait until receive a module available byte ('E') from ezDisplay

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. AT9e=(X position,Y position) printf("at9e=(%d,%d)",Xcoordinate1,Ycoordinate1);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

0x9e Set a Pixel as default Color <example> or input directly


AT9e=(120,32)
printf("at9e=(12,8)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. AT9f=(X position,Y position) printf("at9f=(%d,%d)",Xcoordinate1,Ycoordinate1);
2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Clear a Pixel
0x9f or input directly
<example>
AT9f=(32,32) printf("at9f=(12,8)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

Animation Mode Commands


Code Function Instruction of AT Command mode API for C ( using STM32F030 as an example)

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

1. ATa1=(Speed in ms) printf("ata1=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

0xa1 Display image row by row Down Ward or input directly


<example>
ATa1=(20) printf("ata1=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATa2=(Speed in ms) printf("ata2=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
or input directly
0xa2 Display image column by column Left Ward
<example> printf("ata2=(20)");
ATa2=(20) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATa3=(Speed in ms) printf("ata3=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

0xa3 Display image column by column Right Ward or input directly


<example>
ATa3=(20) printf("ata3=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATa4=(Speed in ms) printf("ata4=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xa4 Erase image row by row Up Ward or input directly
<example>
ATa4=(20) printf("ata4=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATa5=(Speed in ms) printf("ata5=(%d)",speed);
2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

0xa5 Erase image row by row Down Ward or input directly


<example>
ATa5=(20) printf("ata5=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATa6=(Speed in ms) printf("ata6=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay 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

1. ATa7=(Speed in ms) printf("ata7=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

Erase image column by column Right Ward or input directly


0xa7 <example>
ATa7=(20) printf("ata7=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATa8=(Speed in ms) printf("ata8=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xa8 Display image Inside Out or input directly
<example>
ATa8=(20) printf("ata8=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATa9=(Speed in ms) printf("ata9=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

0xa9 Display image Outside In or input directly


<example>
ATa9=(20) printf("ata9=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATaa=(Speed in ms) printf("ataa=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

0xaa Erase image Inside Out or input directly


<example>
ATaa=(20) printf("ataa=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATab=(Speed in ms) printf("atab=(%d)",speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xab Erase image Outside In or input directly
<example>
ATab=(20) printf("atab=(20)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATac=()
2. Wait until receive a module available byte ('E') from ezDisplay printf("atac=()");
0xac Shift one row up 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. ATb0=(Page address,Speed) printf("atb0=(%d,%d)",Page_address,Speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Fly in up-ward
0xb0 <example> or input directly
ATb0=(1,3)
printf("atb0=(0,3)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATb1=(Page address,Speed) printf("atb1=(%d,%d)",Page_address,Speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Fly in down-ward
0xb1 or input directly
<example>
ATb1=(3,2) printf("atb1=(0,3)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATb2=(Page address,Speed) printf("atb2=(%d,%d)",Page_address,Speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Fly in left-ward
0xb2
or input directly
<example>
ATb2=(1,3) printf("atb2=(3,3)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATb3=(Page address,Speed) printf("atb3=(%d,%d)",Page_address,Speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Fly in right-ward
0xb3 or input directly
<example>
ATb3=(1,3) printf("atb3=(0,3)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. ATb4=(Page address,Speed) printf("atb4=(%d,%d)",Page_address,Speed);
2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay}
Fly in up-left-ward
0xb4 or input directly
<example>
ATb4=(1,3) printf("atb4=(0,3)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATb5=(Page address,Speed) printf("atb5=(%d,%d)",Page_address,Speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Fly in up-right-ward
0xb5
or input directly
<example>
ATb5=(1,3) printf("atb5=(0,1)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATb6=(Page address,Speed) printf("atb6=(%d,%d)",Page_address,Speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Fly in down-left-ward
0xb6 or input directly
<example>
ATb6=(1,3) printf("atb6=(0,1)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATb7=(Page address,Speed) printf("atb7=(%d,%d)",Page_address,Speed);


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Fly in down-right-ward
0xb7 or input directly
<example>
ATb7=(1,3)
printf("atb7=(0,1)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

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

0xbf Set animation speed or


<example>
ATbf=(5) printf("atbf=(10)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. ATd2=(shif time in ms)


2. Wait until receive a module available byte ('E') from ezDisplay
0xd2 printf("atd2=(30)");
Scroll the whole display upward while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATd2=(20)
1. ATd3=(shif time in ms)
2. Wait until receive a module available byte ('E') from ezDisplay
0xd3 printf("atd3=(30)");
Scroll the whole display downward while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATd3=(20)

1. ATd4=(shif time in ms)


2. Wait until receive a module available byte ('E') from ezDisplay
0xd4 printf("atd4=(30)");
Scroll the whole display leftward while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATd4=(20)

Scroll the whole display rightward 1. ATd5=(shif time in ms)


2. Wait until receive a module available byte ('E') from ezDisplay
0xd5 printf("atd5=(30)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATd5=(20)

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)

1. ATdf=(page number 2~7)


2. Wait until receive a module available byte ('E') from ezDisplay printf("atdf=(2)");
0xdf while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Desinate the number of pages for animamtion
<example>
ATdf=(5)
1. ATfd=(Remark)
* 0 stands for stop animation
2. Wait until receive a module available byte ('E') from ezDisplay printf("atfd=(18)");
Change the automatic animation mode while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATfd=(18)

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

Color management Commands


Code Function Instruction of AT Command mode API for C ( using STM32F030 as an example)
printf("atc0=(1)");
1. ATc0=(0~111) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
2. Wait until receive a module available byte ('E') from ezDisplay
0xc0 Change color of all pixels except the black color or
pixels to designed color
<example> printf("atc0=(32)");
ATc0=(67) while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

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=()

1. ATcc=(Color on screen want to swapped, Designated color)


2. Wait until receive a module available byte ('E') from ezDisplay printf("atcc=(32,3)");
0xcc Swap displayped color to designated color for whole
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
display
<example>
ATcc=(32,3)

1. ATcd=(Color change effect flag 0~10) * 0 stands for no color effect


2. Wait until receive a module available byte ('E') from ezDisplay
0xcd Color change effect flag for animation printf("atcd=(2)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
Atcd=(1)
1. ATce=(Color change effect flag 1~6)
2. Wait until receive a module available byte ('E') from ezDisplay
0xce Change effect flag for fade in / fade out animation printf("atce=(1)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
Atce=(1)

1. ATcf=(X position,Y position,pattern's Column size, Pattern's Row size,Color


code to be swapped, Color code )
Swap one color to another color in designated area 2. Wait until receive a module available byte ('E') from ezDisplay printf("atcf=(32,10,8,8,32,3)");
0xcf
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

<example>
ATcf=(32,10,8,8,32,3)

Clear display 1. ATd0=()


2. Wait until receive a module available byte ('E') from ezDisplay printf("atd0=()");
0xd0 while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATd0=()

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=()

1. ATee=(X position,Y position, Color 0~255)


*Color 0~255: ref to COLOR CODE Table

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

<RGB LED example>


ATee=(48,6,96) : '96' Red color
System Control Commands
Code Function Instruction of AT Command mode API for C ( using STM32F030 as an example)

1. ATbd=(0 for disable, 1 enable) printf("atbd=(1)");


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
0xbd
Set Page0 EEPROM write enable flag or
Set to disable the page 0 eeprom write flag can <example>
increase the speed of image transfer ATbd=(0) printf("atbd=(0)");
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. ATf2=(level of brightness 0~11)


2. Wait until receive a module available byte ('E') from ezDisplay
0xf2 printf("atf2=(8)");
Set the brightness of RGB LED Display while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATf2=(3)

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. ATfc=(Page address 0~7)


2. Wait until receive a module available byte ('E') from ezDisplay
printf("atfc=(0)");
0xfc
Change the display page while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
ATfc=(3)

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. AT84=(X position,Y position, pattern ID)


2. Wait until receive a module available byte ('E') from ezDisplay
0x84 Dsiplay a 8X8 printf("at84=(16,32,1)");
pattern while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT84=(16,32,1)

1. AT85=(X position,Y position,pattern ID)


Dsiplay a 8X16 2. Wait until receive a module available byte ('E') from ezDisplay
0x85 pattern printf("at85=(16,32,1)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT85=(16,32,1)

1. AT86=(X position,Y position,pattern ID)


Dsiplay a 16X16 2. Wait until receive a module available byte ('E') from ezDisplay
0x86 pattern printf("at86=(16,32,1)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT86=(16,32,1)

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=()

1. AT21=( pattern's upper left X coordinate)


Define the user pattern's upper left X coordinate that 2. Wait until receive a module available byte ('E') from ezDisplay
0x21
is going to place printf("at21=(%d)",Xcoordinate);
<example> while (USART_ReceiveData(UART1)!= 'E') {} or a 5ms delay
AT21=(16)

1. AT22=( pattern's upper left Y coordinate)


Define the user pattern's upper left Y coordinate that 2. Wait until receive a module available byte ('E') from ezDisplay
0x22 printf("at22=(%d)",Ycoordinate);
is going to place
<example> while (USART_ReceiveData(UART1)!= 'E') {} or a 5ms delay
AT22=(16)

1. AT23=(Pattern's Column size, Patterm's Row size)


2. Wait until receive a module available byte ('E') from ezDisplay
0x23 Define the size of user pattern printf("at23=(%d,%d)",Column_Size,Row_Size);
<example> while (USART_ReceiveData(UART1)!= 'E') {} or a 5ms delay
AT23=(12,12)

1. AT24=(Pattern's color bits depth 1,2,3,8,or24)


2. Wait until receive a module available byte ('E') from ezDisplay
0x24 Define the color depth of pattern printf("at24=(%d)",Color_depth );
<example> while (USART_ReceiveData(UART1)!= 'E') {} or a 5ms delay
AT24=(8)
1. AT25=(1 for Enable / 0 for Disable)
Enable or Disable the "store pattern into to eeprom 2. Wait until receive a module available byte ('E') from ezDisplay printf("at25=(1)" );
0x25 while (USART_ReceiveData(UART1)!= 'E') {} or a 5ms delay
flag"
<example>
AT25=(1)

1. AT26=(pattern ID strat from 0 to 49)


Define the pattern ID of the pattern that is going to be 2. Wait until receive a module available byte ('E') from ezDisplay printf("at26=(10)" );
0x26 while (USART_ReceiveData(UART1)!= 'E') {} or a 5ms delay
stored
<example>
AT26=(0)

1. AT27=(1 from RAM / 0 for eeprom) printf("at27=(1)" );


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

0x27 Define reading the pattern from RAM or eeprom <example> or


AT27=(1)
printf("at27=(0)" );
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

1. AT29=(X position,Y position,pattern's Column size, Pattern's Row size,


Dsiplay one pattern's ID)
user deifined pattern from eeprom or RAM to 2. Wait until receive a module available byte ('E') from ezDisplay printf("at29=(%d,%d,%d,%d,%d)",Xcoordinate,Ycoordinate,Column_Size,Row_Size,Pattern_ID);
0x29 designated coordinate while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

<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. AT2b=(0 for overwrite / 1 for overlapping ) printf("at2b=(1)" );


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Define the pattern is overwrite or overlap to the
0x2b
placed area or
<example>
AT2b=(1) printf("at2b=(0)" );
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

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=()

1. AT32=(pattern's Column size, Pattern's Row size, pattern's ID)


Move defined pattern up one row 2. Wait until receive a module available byte ('E') from ezDisplay printf("at32=(%d,%d,%d)",Column_Size,Row_Size,Pattern_ID);
0x32 while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay

<example>
AT32=(8,8,1)

1. AT33=(pattern's Column size, Pattern's Row size, pattern's ID)


Move defined pattern down one row 2. Wait until receive a module available byte ('E') from ezDisplay printf("at33=(%d,%d,%d)",Column_Size,Row_Size,Pattern_ID);
0x33 while (USART_ReceiveData(UART2) != 'E') {} or a 5ms delay

<example>
AT33=(8,8,1)

1. AT34=(pattern's Column size, Pattern's Row size, pattern's ID)


Move defined pattern left one column 2. Wait until receive a module available byte ('E') from ezDisplay printf("at34=(%d,%d,%d)",Column_Size,Row_Size,Pattern_ID);
0x34 while (USART_ReceiveData(UART3) != 'E') {} or a 5ms delay

<example>
AT34=(8,8,1)

1. AT35=(pattern's Column size, Pattern's Row size, pattern's ID)


Move defined pattern leftright one column 2. Wait until receive a module available byte ('E') from ezDisplay printf("at35=(%d,%d,%d)",Column_Size,Row_Size,Pattern_ID);
0x35 while (USART_ReceiveData(UART4) != 'E') {} or a 5ms delay

<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. AT8b=(0 for overwrite / 1 for overlapping) printf("at8b=(1)");


2. Wait until receive a module available byte ('E') from ezDisplay while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
Define the pattern is overwrite or overlap to the
0x8b placed area or
<example>
AT8b=(0) printf("at8b=(0)");
while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
1. AT8c=()
2. Wait until receive a module available byte ('E') from ezDisplay
0x8c Store the current display contents as background to printf("at8c=()" );
temporary memory while (USART_ReceiveData(UART1) != 'E') {} or a 5ms delay
<example>
AT8c=()

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=()

User define pattern quantity allocation


ezDisplay Color Code

You might also like