This folder contains 15 different example programs (scripts) that can be run on the VBOX Touch Hardware

To run each of the examples copy the contents of that example's folder to the root of the SD Card.

Insert SD card before powering on the VBOX Touch and the file main.py will be run from the SD Card.

These examples can be edited using any text editor following valid syntax for MicroPython.

To aid with debugging any exceptions or debug messages will be outputted via the serial port on Connector 3 (The top most 5-pin connector on the unit) you can connect this port to your PC using an RLCAB001 cable.

To revert to normal operation delete the files from the SD Card

CAN_Display
===============
This is an example script demonstrating reading data from the CAN bus and displaying it on the screen

Dashboard
===============
This script is of a vehicle dashboard with gauges and shift lights demonstating complex graphic elements and reading/displaying CAN and GNSS data as well as LED control

Game
===============
Example script of a reaction game that demonstrates control of the LEDs, basic UI and the use of timers

GForce_Meter
===============
Example of an application displaying g-force readings derived for GNSS data on a g-ball demonstrating custom UI elements, images and fonts and the use of GNSS data. 

Graphs
===============
Example script showing how to draw basic bar graphs and demonstrating basic UI control 

Graphics
===============
Example script showing all built in UI elements and demonstrating how to control them, including basic use of buttons, sounds and swiping

LEDs
===============
Example script showing how to control LED colours and brightness through simple slider controls

Logo Display
===============
Example script showing full screen logos demonstrating loading of images and gradients

Piano
===============
Example application of a virtual piano, demonstrating custom UI and built in sounds

Record_Play
===============
This application demonstrates recording sound from the microphone and playing it back through the speaker, whilst displaying sound levels on a graph

Serial_Scales
===============
Example of an application that takes in data over the serial port and displays it on the screen whilst also outputting the data over CAN

Sounds
===============
Example script that allows all built in sounds to be played through the built in speaker

Torque Display
===============
Example of a fully featured application with lots of UI, examples of writing to the SD card, displaying data and reading data over CAN

VIPS
===============
Example script that works with Racelogic's VBOX Indoor Positioning System to show precise location within an indoor area by connecting to a VIPS Rover over a serial link

VPRS
===============
Example of a complete application that works with Racelogic's VBOX Precision Ranging System, this demonstrates UI design, serial and CAN data collection, custom fonts and images, swiping of the UI, LED control and file writing
