9 lines
709 B
Plaintext
9 lines
709 B
Plaintext
Program.s
|
|
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
|
|
int sys0=0,sys1=0,sys2=0 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
|
|
bauds=115200//Configure baudrate
|
|
dim=100//Configure backlight
|
|
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
|
|
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
|
page 0 //Power on start page 0
|