I’ve written and flashed the following sketch in the web IDE:
int LED = D7;
void setup() {
pinMode(LED, OUTPUT);
Serial.begin(9600);
Serial.println("started!");
}
void loop() {
Serial.println("Working!");
digitalWrite(LED, HIGH);
delay(250);
digitalWrite(LED, LOW);
delay(250);
}
My core is connected via the provided USB cable to my late 2008 aluminum macbook, running OSX 10.9.
After the sketch was flashed and I got the dimming cyan light and the built in LED flashed, I disconnected the USB cable, waited a few seconds and connected it again.
After the dimming cyan light started and the built in LED started flashing, I did ls -la /dev/tty.*
but I couldn’t see the core. Same for ls -la /dev/cu.*
.
Running ls -latr /dev/tty*
doesn’t show a weird /dev/ttyA70cE
device neither.
Running sudo dmesg
doesn’t show any information about such a core as well.
Connecting an Arduino UNO with a similar sketch (led was 13, not 7) works fine, and I can see that device when ls -la /dev/tty.*
and cu.*
Am I doing something wrong ?
Anything else I can try ?
I’ve read the following topics, and nothing helped: