Skip to content

ViSi-Genie Magic: Keyboard and LED Digits Demo

Introduction

This codebase example demonstrates how to display large signed integers (up to 10 digits) in decimal using the Magic Keyboard and Color Picker Event object and the Magic Code object in ViSi-Genie. The integer is entered by the user using a keyboard object and is displayed using a LED digits object. This codebase example does not need a host.

In the standard ViSi-Genie environment, the above is not possible since a host would be needed to process the keyboard input values and write them back to a LED digits object.

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.

Instructions

Compile the attached ViSi-Genie Magic project and upload the program to a uLCD-32PTU (or to your target display). Copy the supporting files to a uSD card mounted to the PC. Properly unmount the uSD card from the PC and mount it to the uLCD-32PTU.

Attachment

Project File