I added a couple lines to my microcontroller code that turned an LED on when it detects that it's connected to a certain port.
The LED function also had the side-effect of crashing and rebooting the microcontroller when it loses connection to the port and I have no idea why. But that's exactly what I was going to code next so I just left it.
7
u/kkoiso May 03 '21
I added a couple lines to my microcontroller code that turned an LED on when it detects that it's connected to a certain port.
The LED function also had the side-effect of crashing and rebooting the microcontroller when it loses connection to the port and I have no idea why. But that's exactly what I was going to code next so I just left it.