Scratch

【DEMO4】Control the LEDs with Pi_Scratch on Banana Pro

3 1606
Edited by A.Einstein at Sun Jan 25, 2015 20:07

Configuration Software Environment


A.We should open the file of g17-g27-demo after enter the Scratch.
B.We open the LXTerminal and enter the corresponding file directory of Pi_Scratch.py,then input  
  sudo python to execute it.
C.See to the Scratch and click the start,we can see that the LED-11 and LED-13 turn to bright in turn.

output:GPIO17~Pin11~light11
              GPIO27~Pin13~light13

Running interface:
4.png
The result:
42.jpg


g17-g27-demo.zip (31.27 KB, Downloads: 3)

Cool stuff! Thx!

ponor  
Note: The author has been banned or deleted.

You have to log in before you can reply Login | Sign Up

Points Rules