ViSi-Genie: Arduino Scope
Introduction
This codebase example shows how to display analog data to a Scope Object. The Arduino reads a potentiometer connected to pin A0 and then maps the values read to comply with the minumum and maximum range of the scope object.
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
This codebase presents a working example of the above. Below are the steps involved in programming the display and the host.
-
Compile and upload the attached sketch to an Arduino Uno.
-
Compile the project and upload it to any 4D Systems displays with PICASO, DIABLO-16, PIXXI-28 and PIXXI-44 graphics processors in this codebase example we are using uLCD-32PTU. Copy the supporting files to a uSD mounted to the PC. Properly unmount the uSD card from the PC and mount it to the target display.
-
Properly connect the Arduino Uno to the traget display. See the application notes - ViSi-Genie: Connecting a 4D Display to an Arduino for this.
-
Reset your Arduino Uno.