I am having some kind of basic problem with my new Photon trying to run the “Blink An Led” sample code.
I’m on a Windows 10 platform, with the photon connected via USB cable. I load the “Blink An LED” code with the CLI command “particle flash --serial firmware.bin” and it returns success and the photon soon is breathing cyan. However, no LED starts blinking.
Using the Tinker app, I’m able to toggle D7 and see the LED go on and off. I’m also able to toggle the LED on/off with the CLI command: “particle call digitalwrite D7,HIGH”.
In Device Manager of Windows 10, I can see my Photon on COM3.
Because I had some trouble installing and tried a few things, I don’t know if I messed up the Photon firmware in some way, but it seems to behave normally in all other ways. It just doesn’t seem to run the “Blink An Led” program.
Does the “Blink An Led” compile and load the same for an Electron and a Photon? Or is there some platform switch I’m missing?
I’m at a loss as to how to troubleshoot this. Is there any info I can provide to help debug?