SmartGPU2-LCD480X320Touch-CommandSet
SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 4
2.5 Image Commands....................................................................................55
2.5.1 Draw Image/Icon – 49hex - I ascii…………………………………..……...57
2.5.2 Image BMP SD – 42hex - B ascii…………………………….……….…....59
2.5.3 Image JPG SD – 4Ahex - J ascii…………………………………………...62
2.5.4 Memory Read – 4Dhex - M ascii……………………………………………65
2.5.5 Screenshot BMP – 53hex - S ascii…………………………………………67
2.6 Video Commands....................................................................................68
2.6.1 Allocate Video SD – 41hex - A ascii………………………………….……70
2.6.2 Play Video SD – 4Ahex - J ascii…………………………………….……..72
2.6.3 Set Frame Video SD – 46hex - F ascii……………………………………74
2.6.4 De-Allocate Video SD – 44hex - D ascii……………………………….....75
2.7 Audio Commands...................................................................................76
2.7.1 Initialize/De-initialize DACs/Audio – 49hex - I ascii……………….……..77
2.7.2 Play WAV File – 50hex - P ascii…………………………………………...78
2.7.3 Pause WAV File – 57hex - W ascii……………………………………..…80
2.7.4 Advance WAV File – 41hex - A ascii……………………………………...81
2.7.5 Stop WAV File – 53hex - S ascii…………………………………………...82
2.7.6 Set Volume WAV – 56hex - V ascii………………………………………..83
2.7.7 Get Playing State – 47hex - G ascii……………………………………….84
2.7.8 Audio Boost WAV File – 42hex - B ascii………………………………….85
2.8 Touch Commands...................................................................................86
2.8.1 Get Touchscreen – 53hex - S ascii………………………………………..87
2.8.2 Get Touch Icons – 49hex - I ascii……………………………………….....89
2.9 FAT Data Management/Data Logger Commands...............................91
2.9.1 List Dirs and Files –4Chex – ‘L’ ascii…………………………………….93
2.9.2 Get Name of Item Number# –47hex – ‘G’ ascii………………………...94
2.9.3 Get Dir Path –48hex – ‘H’ ascii…………………………………………...95
2.9.4 New Dir/File – 4Ehex - ‘N’ ascii…………………………………………...96
2.9.5 Open Directory/Folder –44hex – ‘D’ ascii………………………………..97
2.9.6 Open File –4Fhex – ‘O’ ascii………………………………………………99
2.9.7 Read File –52hex – ‘R’ ascii……………………………………………...101
2.9.8 Write File –57hex – ‘W’ ascii……………………………….……………103
2.9.9 Set/Get Pointer –50hex – ‘P’ ascii………………………………………105
2.9.10 Sync File –53hex – ‘S’ ascii…………………………………………….107
2.9.11 Test Error-EOF File –51hex – ‘Q’ ascii………………………………..108
2.9.12 Close File –43hex – ‘C’ ascii……………………………………………109
2.9.13 Truncate File –56hex – ‘V’ ascii………………………………………..110
2.9.14 Erase Dir/File –45hex – ‘E’ ascii………………………………………..111
2.9.15 Dir/File Rename/Move –4Dhex – ‘M’ ascii…………………………….112
2.9.16 Set/Get Time and Date Dir/File –54hex – ‘T’ ascii……………………114
2.9.17 Get Dir/File Info –49hex – ‘I’ ascii………………………………………116
2.9.18 Get Free and Total Space –46hex – ‘F’ ascii…………………………118