Using the USB Serial on OS X [SOLVED]

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.print("entered: ");

Oops, I thought I was using the USB cable that came with the Photon, but it was the one that was for a USB battery and I guess can’t do anything else!

Changed cable, now see /dev/tty.usbmodem1411, and screen /dev/tty.usbmodem1411 9600 works as it should!