Before using MicroBlocks on the XRP, you must install the MicroBlocks firmware.
Download the XRP firmware file (vm_pico_xrp.uf2) to your computer.
Connect the XRP robot to your computer witb a USB cable. While holding down the white BOOTSEL button on the green Pico W board, press and release the reset button (circled below).
The RPI-RP2 USB drive will appear.
If you use only MicroBlocks, you'll need to install the MicroBlocks firmware only the first time you use it.
If you also use other firmware (e.g. XRP-WPILib) on your XRP, you'll need to reinstall the MicroBlocks firmware before using MicroBlocks again. Fortunately, if you keep the .uf2 files handy, switching between firmwares is quick and easy.
https://microblocks.fun/run-pilot/microblocks.html
Select the "Pico W" entry in the USB select dialog, then click Connect.
A green circle will appear when connected.
The XRP library contains commands to control your robot.
Tip: You can click on blocks right in the palette to see what they do.
You to can program your XRP wirelessly using Bluetooth Low Energy (BLE). Working without a USB cable allows the robot to move and turn freely. Also, the robot can run on the floor to avoid the risk of running off the edge of the table.
https://microblocks.fun/run-pilot/microblocks.html
A green circle will appear when connected.
In a classroom or workshop setting, the BLE connect dialog box may list many XRP robots. Your XRP has a unique three-letter suffix (e.g. "KLS") that can be used to identify it in that list. To prepare for this situation, use a Post-it note or masking tape to label your robot with its three-letter code. To find the code for your robot, connect to it using a USB cable then click the BLE id block in the Input category.