Hi All,
Can anyone please point me to Bluetooth Python code/Module and Wifi/Module Code for Nano RP2040 Connect board?
I am struggling , tried the example code that comes with OpenMV , but none seems work or may be i dont know how to make these work.
Total NOOB here.. appreciate the patience..
thx
Outkast
rp2040 connect BlueTooth and Wifi
Re: rp2040 connect BlueTooth and Wifi
WiFi: There is no specific documentation for this board yet (but now with the Pico W too we will likely add it), but it works the same as on other ports. See the "network" module at https://docs.micropython.org/en/latest/ ... .WLAN.html and quick ref for ESP32 at https://docs.micropython.org/en/latest/ ... networking
Once WiFi is connected, it works like regular python ("socket", etc). You can use the urequests library to make HTTP requests etc.
https://github.com/micropython/micropyt ... equests.py
Right now you'll have to install urequests.py manually, but I've raised https://github.com/micropython/micropython/pull/8856 to get it added to the default firmware.
Bluetooth is documented at https://docs.micropython.org/en/latest/ ... tooth.html
As per the note at the top of the page, I recommend using aioble (which is installed by default on this board).