Skip to content

HackEduca/s2-pi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s2-pi

Tutorial para criar Extensão Scratch 2 para o Raspberry Pi

https://www.hackeduca.com.br/raspberrypi_scratch/

s2-pi

A Demo and Tutorial for Creating Scratch 2 Extensions For The Raspberry Pi

# A; B    # Run A and then B, regardless of success of A
# A && B  # Run B if and only if A succeeded
# A || B  # Run B if and only if A failed
# A &     # Run A in background.

To install type:

cd /usr/local/lib/python3.5/dist-packages/ && sudo rm -f *.egg ; sudo rm -r  s2_pi* ; cd && sudo rm -r s2-pi ; git clone https://github.com/HackEduca/s2-pi.git && cd /home/pi/s2-pi && sudo python3 setup.py install && sudo systemctl enable pigpiod && sudo systemctl start pigpiod && cd /usr/lib/scratch2/scratch_extensions && sudo rm s2_pi.js ; sudo rm extensions.json ; sudo curl -o s2_pi.js https://raw.githubusercontent.com/HackEduca/s2-pi/master/s2_pi/s2_pi.js && sudo curl -o extensions.json https://raw.githubusercontent.com/HackEduca/s2-pi/master/additional_files/extensions.json && cd /usr/lib/scratch2/medialibrarythumbnails && sudo rm hackeduca.png ; sudo curl -o hackeduca.png https://raw.githubusercontent.com/HackEduca/s2-pi/master/docs/images/hackeduca.png && cd &&  sudo rm -r s2-pi ; s2pi

About

Extensão em pt-br para Scratch no RaspberryPi

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 50.5%
  • JavaScript 49.5%