|
Post by Dan129 on Aug 4, 2015 6:57:52 GMT -8
Hello, I made a few attempts of running the following code, I have always got an "FTDI Chip" message appears on screen after a few seconds of running. Can you tell me what I should do to avoid getting this message?
Code:
#include <SD.h>
#include <EEPROM.h>
#include <SPI.h>
#include <GD2.h>
File file;
File f;
char* h;
void setup() {
Serial.begin(9600);
SD.begin(9);
file = SD.open("/");
f=file.openNextFile();
h= f.name();
GD.begin();
}
void loop() {
GD.Clear();
GD.cmd_loadimage(n, 0);
GD.load(h);
GD.Begin(BITMAPS);
GD.Vertex2ii(0, 0);
GD.swap();
Serial.println(h);
delay(1000);
f=file.openNextFile();
h= f.name();
if(!f)
file.rewindDirectory();
}
Thank you, Dan.
|
|