Skip to content

Commit

Permalink
move bitmap reader to loop
Browse files Browse the repository at this point in the history
  • Loading branch information
rmd6502 committed Feb 20, 2012
1 parent 736a8c1 commit 4a21afe
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions PicClient.ino
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ Serial.print("Initializing net...");
}
}
WiFly.configure(WIFLY_BAUD, 115200);

}

void loop() {
Serial.print("Initializing file...");
bmpFile = NetworkFile::open("192.168.0.108", "/~rmd/squid.bmp");

Expand All @@ -119,10 +121,6 @@ Serial.print("display file...");
Serial.print("display text");
tft.setRotation(2);
tft.drawString(25, 140, "Electric Squid!", ((0x33 & 0xF8) << 8 | (0xE0 & 0xFC) << 2 | (0xFF & 0xF8) >> 3));
while (1) ;
}

void loop() {
}

/*********************************************/
Expand Down

0 comments on commit 4a21afe

Please sign in to comment.