# About the Blockly programming category

**URL:** <https://xrp.discourse.group/t/about-the-blockly-programming-category/12>\
**Category:** Blockly programming\
**Created:** [May 13, 2023, 1:26am UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12 "2023-05-13T01:26:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bamiller](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/bamiller/32/5_2.png) [@bamiller](https://xrp.discourse.group/u/bamiller)\
**Post date:** [May 13, 2023, 1:26am UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12/1 "2023-05-13T01:26:17Z")

</div>

Discussion about using the Blockly programming environment and tool to create programs for the XRP.

---

<div class="post-metadata">

**Author:** ![sdooley](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@sdooley](https://xrp.discourse.group/u/sdooley)\
**Post date:** [November 1, 2023, 1:05pm UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12/2 "2023-11-01T13:05:49Z")

</div>

Does anyone have some sample Blockly code they wouldn’t mind sharing to get the sensors working?

---

<div class="post-metadata">

**Author:** ![SCSpaeth](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/scspaeth/32/90_2.png) [@SCSpaeth](https://xrp.discourse.group/u/SCSpaeth)\
**Post date:** [November 5, 2023, 4:36pm UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12/3 "2023-11-05T16:36:10Z")

</div>

The XRP Users Guide:  
[https://xrpusersguide.readthedocs.io/en/latest/course/sensors.html](https://xrpusersguide.readthedocs.io/en/latest/course/sensors.html)  
contains a couple pics of Blockly code snippets that might help you get started.

---

<div class="post-metadata">

**Author:** ![SCSpaeth](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/scspaeth/32/90_2.png) [@SCSpaeth](https://xrp.discourse.group/u/SCSpaeth)\
**Post date:** [November 5, 2023, 7:38pm UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12/4 "2023-11-05T19:38:28Z")

</div>

The Intro To Robotics document also has some pics of Blockly sensor scripts:  
[https://introtoroboticsv2.readthedocs.io/en/latest/course/measuring\_distance/intro.html#robotic-echolocation](https://introtoroboticsv2.readthedocs.io/en/latest/course/measuring_distance/intro.html#robotic-echolocation)  
The document explicitly offers the Python code; you need to select the Blockly tab to see the Blockly snippet pics.

---

<div class="post-metadata">

**Author:** ![sdooley](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@sdooley](https://xrp.discourse.group/u/sdooley)\
**Post date:** [November 16, 2023, 1:39pm UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12/5 "2023-11-16T13:39:31Z")

</div>

Thanks for the suggestion, but this link appears to be dead. Anyone have an update?

---

<div class="post-metadata">

**Author:** ![sdooley](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@sdooley](https://xrp.discourse.group/u/sdooley)\
**Post date:** [November 16, 2023, 1:40pm UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12/6 "2023-11-16T13:40:02Z")

</div>

This link is also dead and 404’s.

---

<div class="post-metadata">

**Author:** ![SCSpaeth](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/scspaeth/32/90_2.png) [@SCSpaeth](https://xrp.discourse.group/u/SCSpaeth)\
**Post date:** [November 16, 2023, 1:47pm UTC](https://xrp.discourse.group/t/about-the-blockly-programming-category/12/7 "2023-11-16T13:47:18Z")

</div>

Both links work for me (just now, retested). I’ll try to find another alternative.

The github repository for the documents contain images of the Blockly scripts.

> <https://github.com/Open-STEM/XRPUsersGuide/blob/main/course/sensors.rst>

You may need to preview the document in order to see the images rather than links to the inline images.
