Skip to content

ViSi-Genie Magic: Button Counters using Arduino


Number 4D-AN-00160
Difficulty Medium
Supported Processors PICASO, DIABLO-16, PIXXI-28, PIXXI-44
Supported Environments ViSi-Genie


To understand this application note more quickly, the reader is advised to read and understand first the application note below. ViSi-Genie Magic Button Counters ViSi-Genie Magic Button Counters shows how up and down button counters are implemented in ViSi-Genie with the use of Magic Event objects. The up and down button counters, besides updating the LED digits object on the display, also cause REPORT_EVENT messages to be sent to the serial port. The application note then shows and discusses the format of these messages with the help of the GTX tool. In this application note, a sketch for an Arduino program that receives and handles REPORT_EVENT messages coming from the display will be discussed. Also, it will be shown how the current value of the LED digits on the display is extracted from the messages so that it can be printed on the serial monitor of the Arduino IDE.

Document Project File