Skip to content

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.

Document Project File

Prerequisites