s2aio
Has Been Released!
The documentation is still a work in progress, but the you can try it out it you like.
Before installing:
- Make sure that you have Python 3.5 installed on your computer.
- Have StandardFirmata or FirmataPlus installed on your Arduino
- You have installed Scratch 2.0 Offline on your computer.
To install:
For Windows: From a command window, type:
pip install s2aio
For Linux: From a command window type:
sudo pip3 install s2aio
To Start The Program For Scratch:
Connect your Arduino to your computer, and type:
s2aio
The program will launch Scratch with the English language blocks.
To load the program for a different language, use the -l (that is the letter L in lower case) with the language specifier.
Language choices are:
1 = English
2 = Chinese (zh-CN)
3 = Chinese (zh-TW)
4= Dutch(NL)
5 = French(FR)
6 = German(DE)
7= Greek(GR)
8 = Korean(KO)
9 = Italian(IT)
10 = Portuguese(PT)
11 = Spanish(ES)
So for example, to start Scratch using the French language blocks, enter:
s2aio -l 5
If you want to have the program launch the Snap! web page, enter:
s2aio -c snap
For Snap! you will have to import the language blocks manually.
For Windows, they can be found at:
C:\Users\YOUR USER NAME\AppData\Local\Programs\Python\Python35\Lib\site-packages\s2aio\Snap!Files
And for Linux at:
/usr/local/lib/python3.5/dist-packages/s2aio/Snap!Files
If you have any questions, or find any issues, please let me know.
Detailed documentation is coming to the Wiki page!
No comments:
Post a Comment