Even that confused me for a second because I thought that I needed to specify the arduino namespace in order to use the delay() function, but I didn't. I go back to the basic Blinky example and blink the onboard green LED. Just learning curve issues, but I realize I should verify I can do something simple and then build from there. And I get tripped up trying to replace the functions because of namespace issues, i.e. I find a few, but I run into problems with deprecated functions that no longer are available - simple things like wait() and wait_ms() - because the examples are too old. So, not being an Mbed programmer, I go looking for Arduino IDE Mbed examples. ![]() They need to provide new examples for the RPi Pico. The first two examples were written for the Nano 33 BLE Sense and the third one was written for the Portenta. Then I noticed that all the Mbed supported boards have the same examples.Īll 3 examples will compile for the Nano 33 BLE Sense. The first two for obvious reasons and the third I think because there is a missing architecture definition (this was a red herring). ![]() It runs out that none of the examples will compile. I found it interesting because the first two examples use an onboard PDM microphone and onboard RGB led - neither of which exist on an RPi Pico. Then I took a look at available examples and there were only a few. ![]() ![]() I don't have a Portenta yet so I didn't install that. So, I decided to do the install from the Boards Manager for the RPi Pico and the Nano 33 BLE Sense.Īnd it looks like it is the current version (2.0.0). I also noticed that the previous entry that was used for the Nano 33 BLESense (Arduino Mbed OS Boards) has been deprecated. I had been wanting to use the Mbed RTOS functions with the Nano 33 BLE Sense board, but I guess I'll try it with the RPi Pico first.īefore I tried using the installation instructions, I decided to check the Boards Manager for Mbed supported boards.Īnd there is support the RPi Pico. The github installation instructions require cloning the ArduinoCore-mbed repo and the ArduinoCore-API repo and then adding a symlink to that API. When I wrote my initial blog about the Arduino-Pico library, fmilburn mentioned that Arduino had just released an Mbed library that had support for the RPi Pico.
0 Comments
Leave a Reply. |