I have several Arduino Pro Micro Clonesclones that are giving me an issue where they work immediately after being programmed while the usbUSB cable is still connected, but as soon as I disconnect and reconnect the USB cable the program was failingfails. II was able to break it down to the simplest form and found that the clock cycle is off by what I estimate to be almost a factor of 10.
For testing, the only command in the loop is SerialSerial.println(millis());.println(millis()); Immediately Immediately after programming you can watch the milliseconds scroll by in the serial monitor at the expected rate. UnplugUnplug and plug the USB, reconnect the serial monitor and now the milliseconds scroll by at about 1 second interval. The
The Arduino IDE version is 1.6.8 and have tested it from both a macMac and ubuntuUbuntu with the same results. AlsoAlso tested on 4 different boards with the same results. II also tested the latest Arduino beta with no change. NextNext I'm going to download some older Arduino IDE versions.
Any suggestions?