English
Language : 

EAEDIP128B-6LW Datasheet, PDF (22/29 Pages) List of Unclassifed Manufacturers – OPERATING UNIT 128x64 with touch panel
EA eDIP128-6
Page 22
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
MACRO PROGRAMMING
Single or multiple command sequences can be grouped together in macros and stored in the data
flash memory. You can then start them by using the Run macro commands. There are different types
of macro (compiler directive marked in green letters):
Normal macro Macro:
These are started by means of an ‘ESC MN xx’ command via the serial interface or from another
macro. A series of macros occurring one after the other can be called cyclically (movie, hourglass,
multi-page help text). These automatic macros continue to be processed until either a command is
received via the interface or a touch macro with a corresponding return code is activated.
Touch macro TouchMacro:
Started when you touch/release a touch field (only in versions with a touch panel - TP) or issue an
‘ESC MT xx’ command.
Menu macro (1 to 255) MenuMakro:
Started when you choose a menu item or issue an ‘ESC MM xx’ command.
Bit macro BitMacro:
will be started by a single line IN 1..8 (bit) will change or by command 'ESC MB xx'. Bit- Macro 1..8 are
good for falling edge and Bit Macro 9..16 are good for rising edge at input 1..8. It is possible to change
the assignment between Bitmacro and intput with command ‘ESC YD n1 n2 n3’ (see page 17).
Port macro PortMacro:
These are started when voltage (binary) is applied to IN 1..8 or by command 'ESC MP xx'.
Power-on-macro PowerOnMacro:
Started after power-on. You can switch off the cursor and define an opening screen, for example.
Reset-macro ResetMacro:
Started after an external reset (low level at pin 5).
Watchdog-macro WatchdogMacro:
Started after a fault/error (e.g. failure).
Brown-out-macro BrownOutMacro:
Started after a voltage drop under 3.0V (typ.).
Wake-up-pin-macro WakeupPinMacro:
Started after wake up from power-down-mode with pin
13 (WUP).
Wake-up touch-Macro WakeupTouchMacro:
Started after wake up from power-down-mode with
touch (the whole touch area is active).
Important: If a continuous loop is
programmed in a power-on, reset, watchdog
or brown-out macro, the display can no
longer be addressed. In this case, the
execution of the power-on macro must be
suppressed. You do this by wiring DPOM:
- PowerOff - connect pin 13 (DPOM) to GND
- PowerOn - open pin 13 (DPOM) again.
Wake-up I2C-Macro WakeupI2CMacro:
Started after wake up from power-down-mode with the I²C bus.