ViSi-Genie Magic: How to Append to a File using Arduino
Details
Number | 4D-AN-00164 |
Difficulty | Medium |
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 program performs a file read operation, a file append operation, and then another file read operation. This sequence was used to show that information was indeed appended to the target file. To understand the file read part of the operation, the reader is advised to refer to the application notes ViSi-Genie Magic How to Read a File and ViSi-Genie Magic How to Read a File Arduino. This application note will focus on the file append aspect of the operation.
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 How to Append to a File
- 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