I can’t figure out how to do Serial communication over USB with my Photon. I’ve looked at How to read Serial.print() messages on OSX? [SOLVED] but it doesn’t help. I can’t tell that OS X even sees anything when I plug in the Photon. Nothing new of /dev/tty* shows up, and the USB section of System Information does not change.
The simple code I flashed is below. 13" rMBP with Yosemite.
void setup() {
Serial.begin(9600); // open serial over USB
Serial.println("Hello Computer");
}
void loop() {
if (Serial.available()) {
int inByte = Serial.read();
Serial.print("entered: ");
Serial.write(inByte);
Serial.println();
}
}