Run commands set

Description

Run commands set start from an address or file(V7)

Note: simple send a byte to serial port on the display can terminate the "GOTO", "JPEG", "DLY" and "fDPF" commands when running of commands set.

Note: V7 firmware----the address will be remapped into the reserved memory space that reserved by command Reserve flash.

V7 support both address and file modes.

Usage:

Direct:

"FLMCSA" ----run commands set from the address in MCU or flash memory

"fCSfname "----available in V7

Arduino:

void runCommandSet(uint32_t A)

void runFile(const char[] fname) //available in V7

C:

void Digole_runCommandSet(uint24_t A)

void Digole_runFile(const char[] fname) //available in V7

 

Parameters:

A

The 3 bytes address in flash memory.

Example (Arduino):

mydisp.runCommandSet(65536);  //run the commands set start from address of 65536, in MCU or flash chip
mydisp.runFile("cs1.txt"); //run commands set file: cs1.txt

Changelog

Version Description
 runFile(const char[] fname) Added in firmware V7 

See Also

What is commands set

Run commands set file