ViSi-Genie Magic: Arduino 32bit LED Digits 2
Introduction
The output of this codebase example is the same with that of 4D-CD-00004 ViSi-Genie Magic Arduino 32bit LED Digits.
In this codebase example, however, the 32-bit value is displayed using a single LED digits object only (instead of four digits).
Note
Workshop4 Pro is needed for this code example.
Prerequisites
This codebase example assumes the reader can program the 4D Systems display module using Workshop4 IDE ViSi-Genie environment. Beginners are advised to read the following aplication notes.
- ViSi-Genie: Getting Started with PICASO Displays
- ViSi-Genie: Getting Started with DIABLO-16 Displays
- ViSi-Genie: Getting Started with PIXXI Displays
- ViSi-Genie: Connecting a 4D Display to an Arduino
Instructions
-
Compile the attached ViSi-Genie project and upload it to a uLCD-32PTU (or your target display). Copy the supporting files to a uSD mounted to the PC. Properly unmount the uSD card from the PC and mount it to the uLCD-32PTU.
-
Compile the attached sketch and upload the program to an Arduino Uno (or your target Arduino board).
-
Properly connect the Arduino Uno to the uLCD-32PTU. See the application notes ViSi-Genie: Connecting a 4D Display to an Arduino for this.
Note
The sketch uses a software serial port for the display and a hardware serial port to print messages to the serial monitor.
If without an Arduino host, you can still run this code example by performing step 1. Then use the GTX tool to send 4 bytes at a time to the display.