Приложение: S4A - Scratch for Arduino Scratch for Arduino boards S4A is a Scratch modification that allows for simple programming of the Arduino open source hardware platform. The main aim of the project is attracting people to the programming world. **Setup** In order to upload code an arduino board over USB, you need to add your user to the `dailout` group and connect the snap to the `raw-usb` socket. > `sudo usermod -a -G dialout $USER` > `sudo snap connect s4a:audio-record` > `sudo snap connect s4a:camera` Now restart your computer and you're good to go! Note: In order to use S4A with an Arduino board, you need to first upload the firmware to the board. **Supported boards** * Arduino Diecimila * Arduino Duemilanove * Arduino Uno *Other boards have not been tested but might also work* **Connectivity** Components have to be connected in a particular way. You can manage a board wirelessly by attaching an RF module to it, such as Xbee. S4A allows you to control as many boards as USB ports you have. Источник |
![]() |