Members of the MicroBlocks community also have valid reasons for wanting to use MicroBlocks for programming the XRP. KGiori cites the live feature of its IDE and ease for learners to get started. It is also well integrated with other blocks programming environments like Snap! for more advanced users. It is also available in sixteen languages for use around the world.
For these reasons and more, we have started to develop an XRP library for the MicroBlocks IDE. The existence of virtual machines for RPi Pico and libraries for servos, distance sensors, and PicoBricks have facilitated development. We have had some challenges in getting data from the IMU (accelerometer and gyroscope) because of differences in pin assignments for i2c. But we are making progress and look forward to sharing support for programming the XRP with MicroBlocks, too!
What was not yet mentioned in the “discussion” is that someone did some tests and compared micropython and MicroBlocks. In the test MicroBlocks was 3 times as fast as micropython.
@Peter, Thank you for this reference. While I learned in a previous post that MicroBlocks Discord links do not display in Discourse unless you are an authorized user of the MicroBlocks server, this result is important enough to merit providing a link for those who are interested:
This Discord link takes authorized users to the original source of the image Peter displayed in his post. If you are interested in learning more, you can find an invitation to the MicroBlocks Discord forum in the lower right corner of the MicroBlocks.fun home page.
@SCSpaeth, thank you for sharing the link. Great that you are pointing out were users can find the link to the MicroBlocks Discord server. I don’t know if it is allowed to post the link in a topic.
wenjie is the developer that @Peter references in his post showing the speed comparison between MicroBlocks and Micropython. You can learn more about his work at https://wwj718.github.io/ where he documents work on many micro-controller projects. The posts are written in simplified Chinese that might discourage some users. But, use a Google Chrome browser to visit that site and it will offer to translate the posts into English.
If you are committed to Micropython on the XRP, you still might want to take advantage of some of the affordances of MicroBlocks. Wenjie describes a way communicate between Micropython and MicroBlocks in both directions: