Scratch

【DEMO2】Control the LEDs with Pi_Scratch on Banana Pro

2 1953
Edited by A.Einstein at Sun Jan 25, 2015 20:03

Configuration Software Environment

A.We should open the file of g-17-blink-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 of board is blinking.

output:GPIO17~Pin11~light11

Running interface:
2.png
The result:
22.jpg


g17-blink-demo.zip (31.26 KB, Downloads: 4)

Cool stuff! Thx!

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

Points Rules