Do you want to use blocks yourself to control a robotic arm? Or do you want to make a program to let users use blocks to control a robotic arm?
Blockly is a library for developers to make block-based programming applications. If you just want to use blocks yourself, you will need to find an application that has been built with Blockly. Here is one example for arduino (the Blockly team is not affiliated with this project)
https://github.com/technologiescollege/Blockly-at-rduino Unfortunately in this forum we cannot provide support for using these programs, as we do not maintain them.
If you want to make a program with custom blocks that can control a robotic arm, then the following may be helpful for getting started.
Blockly is a JavaScript library. All of the code you write to use the Blockly library to create a custom block editor, create custom blocks, etc. will need to be in JavaScript (or TypeScript).
You can create custom blocks that output any language of your choosing, such as Python, C, or your own made up domain language. You do this by writing code generators that turn your blocks into string-based code. Blockly ships with some default blocks that can be converted to JavaScript, Python, and a number of other languages. We do not have a built-in generator for C, so you would have to write code generators for your custom blocks and for any of the built-in blocks you wish to use. These code generators are written in JavaScript as well, regardless of which language they are generating.
To get started, see our
documentation or getting started
codelab. You do need some basic familiarity with JavaScript.
Best,
Maribeth