16 4.9 SystemMacros <strong>EA</strong> <strong>eDIP128</strong>-6 <strong>compiler</strong> <strong>help</strong> POWERONMACRO: All commands defined in this macro will be automatically executed when the power supply is switched on. RESETMACRO: All commands defined in this macro will be automatically executed when an external reset on Pin 5 is done. WATCHDOGMACRO: All commands defined in this macro will be automatically executed when the display hangs up. BROWNOUTMACRO: All commands defined in this macro will be automatically executed when VDD brakes down to 3V or lower. WAKEUPPINMACRO: Starts up again when the display was in PowerDown mode and Pin13 WUP goes to LO. WAKEUPTOUCHMACRO: Starts up again when the display was in PowerDown mode and the touchpanel is touched. WAKEUPI2CMACRO: Starts up again when the display was in PowerDown mode and commands are arriving through I2C interface.
4.10 ExportMacro Compiler Options 17 EXPORTMACRO: n1 [,"chartyp"] [,] n1=0: no export n1=1: export all following Macros as a include-File *.h for C; n1=2: export all following Macros as a binary-File *.bin; n1=3: export both a include-File *.h and a binary-File *.bin; "chartyp": optionally another variable type for thbyte-array (default is "unsigned char") : optionally another filename (default is "macroname_macronumber") Example: ExportMacro: 1, "char flash" Macro: 5 #TA #ZF FONT4x6 #ZL 4,10, "Font4x6 0123456789" #ZF FONT6x8 #ZL 4,20, "Font6x8 Schriftprobe" #ZF FONT7x12 #ZL 4,30, "Font7x12: Schrift" Output in Logfile "Macro_5.h": /* Macro 5 as include */ #define MACRO_5_LEN 88 char flash MACRO_5[MACRO_5_LEN] = { 27, 84, 65, 27, 90, 70, 1, 27, 90, 76, 4, 10, 70,111,110,116, 52,120, 54, 32, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 0, 27, 90, 70, 2, 27, 90, 76, 4, 20, 70,111,110,116, 54,120, 56, 32, 83, 99,64,114,105,102,116,112,114,111, 98,101, 0, 27, 90, 70, 3, 27, 90, 76, 4, 30, 70,111,110,116, 55,120, 49, 50, 58, 32, 83, 99,64,114,105,102,116, 0 };
- Page 1 and 2: EA eDIP128-6 compiler manual Januar
- Page 3 and 4: 10 BLH format 11 How-to-use Content
- Page 5 and 6: 2 Syntax rules Syntax rules 5 ESC T
- Page 7 and 8: Example: !TEXT! = "Hello World" fon
- Page 9 and 10: 4.2 Transfer Compiler Options 9 AUT
- Page 11 and 12: 4.4 WinFont Compiler Options 11 WIN
- Page 13 and 14: 4.6 ExportWinfont Compiler Options
- Page 15: 4.8 Picture Compiler Options 15 PIC
- Page 19 and 20: 4.12 TouchMacro Compiler Options 19
- Page 21 and 22: 4.14 PortMacro Compiler Options 21
- Page 23 and 24: 5 EA eDIP128-6 commands 5.1 Termina
- Page 25 and 26: 5.3 Display Display commands (effec
- Page 27 and 28: 5.5 Flashing Flashing settings: EA
- Page 29 and 30: 5.7 Clipboard Clipboard: EA eDIP128
- Page 31 and 32: 5.9 Macros Run macros: EA eDIP128-6
- Page 33 and 34: Define touch menu: EA eDIP128-6 com
- Page 35 and 36: 5.11 Menu Settings for menu box/tou
- Page 37 and 38: 5.13 Other commands Send functions:
- Page 39 and 40: 6.2 Font 4x6 Default Fonts 39
- Page 41 and 42: 6.4 Font 7x12 Default Fonts 41
- Page 43 and 44: 6.6 Chicago 14 Default Fonts 43
- Page 45 and 46: 6.8 BigZif 57 Default Fonts 45
- Page 47 and 48: 8 Internal Border The internal bord
- Page 49 and 50: 10 BLH format BLH format 49 Use 'Bi
- Page 51 and 52: How-to-use 51 ; because pixels are
- Page 53 and 54: ;----------------------------------
- Page 55 and 56: WakeupPinMacro: ; runs after PowerD
- Page 57 and 58: How-to-use 57 ;#ZC 64,35,223," ",22
- Page 59 and 60: y+=yh+pitch #RS xs,y,xe,y+yh How-to
- Page 61 and 62: 11.6 3 simple touch buttons - BEGIN
- Page 63 and 64: 11.7 Radio group - BEGINNER How-to-
- Page 65 and 66: x+=xw+pitch #AT x,y,x+xw,y+yh, KB2,
- Page 67 and 68:
11.10 Free draw area with clipboard
- Page 69 and 70:
11.11 Frame - BEGINNER Show the dif
- Page 71 and 72:
11.12 GrafikModes - EXPERT Show dif
- Page 73 and 74:
How-to-use 73 ;--------------------
- Page 75 and 76:
11.14 Bargraph by touch - EXPERT Ho
- Page 77 and 78:
#ZL 2,35,"Selected:|Menue 1, Item 2
- Page 79 and 80:
How-to-use 79 x=xs pitch=0 #AM x,ys
- Page 81 and 82:
BitMacro: 3 ; I/O line 3, falling e
- Page 83 and 84:
11.19 Automatic Macro - BEGINNER Ho
- Page 85 and 86:
11.20 Automatic Macro - EXPERT How-
- Page 87 and 88:
11.21 Change display orientation -
- Page 89 and 90:
11.22 Energy save modes - BEGINNER
- Page 91:
How-to-use 91 ;---- Touch Macro for