/* LED Blink, Teensyduino Tutorial #1
http://www.pjrc.com/teensy/tutorial.html
This example code is in the public domain.
*/
#define myLed 16
void setup() {
Serial.begin(38400);
pinMode(myLed, OUTPUT);
digitalWrite(myLed, HIGH);
}
// the loop() methor runs over and over again,
// as long as the board has power
void loop() {
// if (Serial.available() > 0) {
// Serial.write(Serial.read());
// }
digitalWrite(myLed, !digitalRead(myLed));
delay(1000);
}
I can't seem to copy the verbose serial output but it says warning: espcomm_sync failed and error: espcomm_open failed.
Any idea what I might be doing wrong?