Loading...
 
4D Systems Supporting Files
Designed to provide useful information showcasing the spectrum of features that 4D products have to
offer, through easy to read documentation supported by illustrative images and sample code extracts.

ViSi-Genie Magic Button Counters Arduino

Name : 4D-AN-00160
Title : ViSi-Genie Magic Button Counters Arduino
Revision : 1.0
Description : 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.
Link : http://www.4dsystems.com.au/appnote/4D-AN-00160/
Supported Processor : PICASO, DIABLO16
Supported Environment : ViSi-Genie
Subcategory : arduino, genie-magic
Files :
Difficulty : Medium
Recommendation(s) :
Title Difficulty
General How to Update the PmmC for Diablo16 Easy
General Migrating from PICASO-SGC-GFX to PICASO Easy
General How to Update the PmmC for Picaso Easy
General Partitioning a micro-SD into FAT and RAW Components Easy
ViSi-Genie Getting Started - First Project for Picaso Display Modules Easy
ViSi-Genie Getting Started - First Project for Diablo16 Display Modules Easy
ViSi-Genie onChanging and onChanged Events Easy
ViSi-Genie Advanced Buttons Medium
ViSi-Genie Digital Displays Medium
ViSi-Genie Labels, Text, and Strings Medium
ViSi-Genie How to Add Magic Objects Medium
ViSi-Genie Connecting a 4D Display to an Arduino Host Medium
ViSi-Genie Magic Button Counters Medium