ViSi-Genie Magic: File Size Request using Arduino
Details
Number | 4D-AN-00166 |
Difficulty | Hard |
Supported Processors | PICASO, DIABLO-16, PIXXI-28, PIXXI-44 |
Supported Environments | ViSi-Genie |
Description
This application note shows how to write a sketch for an Arduino program that sends WRITE_MAGIC_BYTES messages to and handles REPORT_MAGIC_EVENT_BYTES messages coming from the display module. Using the above messages, the Arduino program performs a file size request operation, a file append operation, and then another file size request operation. This sequence was used to show that the file size request operation is indeed functioning. To understand the file append part of the operation, the reader is advised to refer to the application notes
Prerequisites
- General: How to Update the PmmC for DIABLO-16
- General: How to Update the PmmC for PICASO
- General: How to Update PmmC for PIXXI
- General: Partitioning a micro-SD into FAT and RAW Components
- ViSi-Genie: Getting Started with PICASO Displays
- ViSi-Genie: onChanging and onChanged Events
- ViSi-Genie: Getting Started with DIABLO-16 Displays
- ViSi-Genie: How to Add Magic Objects
- ViSi-Genie: Labels, Texts, and Strings
- ViSi-Genie: Magic File Size Request
- ViSi-Genie: Connecting a 4D Display to an Arduino Host
- ViSi-Genie: Magic How to Read a File
- ViSi-Genie: Magic How to Read a File Arduino