I have a problem with the Sparkfun prr micro 3.3 V. I’m not able any more (it used to work before) to output data via USB/Serial connection from the pro micro to the computer. The other way round (computer → pro micro) works fine as well as uploading sketches. Does anybody have an Idea?
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.println(“xxx”);
}
gives no result on the serial monitor any more (while everything works the other way round). Could the pro micro be damaged? Could I upload skeches then?
Havent worked much on the Pro Micro, but have worked enough on other Ards to confidently say that if the sketch is uploading then the serial port hardware itself much be fine. Probably some other mistake?
When you upload, the bootloader on the PM is running and has assigned to it a COM port. When your code runs that COM port is released and then (supposedly) a new COM port is redetected by your PC. It will be a different COM port number from the one the bootloader used, usually off by 1 count. I’d open up Device Manager and watch the process and note the COM port numbers reported. Then make sure the serial monitor is using the correct COM port #.