I am trying to test simple serial communications with the Photon and PUTTY, and am not having any luck. I am using a 3.3V to RS232 level shifter that is working correctly, and here is the code I am using. Does anyone see anything that I am missing with the code? Also, any suggestions on how to troubleshoot? Is there a way I can do a loopback test of some kind on the Photon?
Here is the code I am trying:
int counter = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.printlnf(“testing %d”, ++counter);
delay(1000);
}