File I/O

The Finch can be used to both generate data for a file, and to act as a physical, emotive interpreter for data in a file.  Naturally both reading and writing a file can be combined in a single assignment or program.

Writing a File

Most assignments focusing on writing a file for the Finch will rely on recording sensor data into a file.  An interesting assignment may involve recording data in an csv type format, so that it can be easily opened in a spreadsheet program.  

Reading a File

The Finch can interpret a file's contents using any of the outputs available.  For example, one could imagine an assignment which builds a parses and interpreter for a pre-defined simple scripting language involving basic led, sound, and motion commands.  


It should be fairly straight forward to create assignments that involve recording sensor data in a file, and then playing back that data through motion, light, or sound.  For example, one might record the accelerometer orientations over a period of time, and then play these readings as movements.