I’ve been happily working for days now using the serial monitor to render data.
My code came to the point where I needed to start thinking about power management, and in a recent post, someone mentioned that the sleep function did not work all that great in firmware 0.6.0. I checked my firmware version and I had 0.6.0 so I went looking as to how to upgrade, thinking I was out of date.
I came across the Firmware Manager topic on the Guide and decided to install it as it was advertised as it was the app that would indicate if I was out-of-date or current.
I ran the application install with admin privileges, and I was presented with an empty dialog. A few seconds later I get a tiny dialog entitled Fatal Error! with the content of Win error -1.
I close down the failed install and just decide to proceed as planned with learning/integrating sleep() into my program.
In my loop I put this
System.sleep(5); // sleep 5 seconds
I flash my photon and the light breaths white, and does not wake up…
I put the photon in Safe Mode, take out the 3 new lines, and flash.
The photon is now breathing blue again.
The problem is now
- The serial monitor does not work at all.
connectdoes nothing. The Enter String to Send text field flashed with a blue border for a slight second, but nothing else
- I was using COM4 for days and now COM5 is only available.
- If I change the Baud Rate field, I get a popup dialog in the upper right corner stating
Uncaught TypeError: Invalid "baudRate" must be a number got: 4800
- unplugged - replugged
- changed usb ports
Here is my Device Manager.