Out of various RPi products we will be using RPi Pico [without WiFi and Bluetooth].
Since it is the cheapest RPi board it is good for beginners / new students
Don ' t get disheartened, we will use something else to achieve WiFi and BT capabilities
It is programmable in C and MicroPython. (((Secret: All Arduino programs are actually C++ programs )))
To use Rpi Pico board with Arduino IDE you must need to install:
NOTE: Earle Philhower's Arduino-Pico library for RP2040 is NOT officially from the Raspberry Pi Foundation. It is a community-driven effort that provides a port of the RP2040 (Raspberry Pi Pico processor) to the Arduino ecosystem.
Many think that it is much easy to use than the official version.
Let us program the RPi Pico, using the Arduino IDE.
AIM : We want to run the Blink program on RPi Board using the Arduino IDE
[ Turns an LED ON for one second, then OFF for one second, repeatedly.]
After installing, see the section: Uploading Sketches on the same Github page.
Please read the above mentioned section carefully regarding BOOTSEL button.
Screenshot 4
You should press the BOOTSEL button [for the very first time, you program] and then connect the USB cable
[and release the button after the cable is connected]
Modify Line number 34 to delay(10); and see the effect on LED blinking.