Skip to content

ViSi-Genie: Arduino The Slider Object


This codebase example demonstrates how to write a sketch, using the ViSi-Genie-Arduino library, for a program that will make an Arduino host communicate with slider objects on the display module. More specifically, this codebase example demonstrates how to create a basic Arduino program that will handle events (REPORT_EVENT and REPORT_OBJ) coming from the display module. The program will also send WRITE_OBJ and READ_OBJ messages to the display module.


This codebase example assumes that the reader has read and understood the codebase example ViSi-Genie: GTX The Slider Object. A working knowledge of the Arduino platform is also required. Users who are not familiar with the basics of interfacing an Arduino host to a 4D display module may refer to the application note ViSi-Genie Connecting a 4D Display to an Arduino.


Follow the procedure below to run this example. The reader is also advised to watch the accompanying video.


Before proceeding to step 1 below, the ViSi-Genie program desribed in the codebase example ViSi-Genie: GTX The Slider Object should have been loaded to the display module already.

  1. Open the attached sketch in the Arduino IDE, compile it, and upload the program to your target Arduino board (an Arduino Uno for this codebase example).
  2. Properly connect the Arduino Uno to the uLCD-32PTU.


    This codebase example, the 4D Arduino Adaptor Shield (rev 2.0) was used.

  3. Open the Serial Monitor of the Arduino IDE.

  4. The application should now run. Watch the accompanying video and follow the test procedure shown.


Project File