Description
The open(FlashTransfer) function put’s the TouchShield into a dormant state, while it waits for images to be transferred from the Aardvark. This function will only accept 24-bit .bmp files
Syntax
Parameters
The FlashTransfer mode.
Returns
none
Related
Example
PImage bsg1;//define a variable image
void setup()
{
open(FlashTransfer); //for the touchshield to wait and receive files
bsg1 = loadImage(“battle.bmp”);//define “bsg1”
//as the uploaded image file “battle.bmp”
}
void loop()
{
background(0);//set the entire screen to black
image(bsg1,0,0);//paint image “bsg1” at pixel point (0,0)
delay(1500);//wait for 1.5 seconds
}