Nano 33 BLE will not run with out USB

I wrote some code to play with the accelerometer over BLE. When I upload the code, it runs just like it should. If I unplug the board from the USB cable, and then power it up with an external lab power supply, I am at 6V right now, the code does not work as the BLE signal does not show up. But if I plug the power supply in and connect the USB in the BLE signal shows up, and stays running even after I remove the USB cable.

Hello jbdww,

Could you please upload the code you are using with the code tags (accessed with the button that looks like this: </> ) or as an attachment.

It sounds like you might have a line of code that is something like:

while(!Serial);

If you have this your code is paused waiting for the serial USB to connect whereas once it is connected it will work fine.

Hope that helps,
Matt

LOL. I found that in the code, and came back here to say never mind. Problem solved.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.