【DEMO3】Control the LEDs with Pi_Scratch on Banana Pro

1 3067
Edited by A.Einstein at Sun Jan 25, 2015 20:06

Configuration Software Environment

A.We should open the file of gpio-new-demo after enter the Scratch.
B.We open the LXTerminal and enter the corresponding file directory of,then input  
  sudo python to execute it.
C.See to the Scratch and click the start,we can see that the LED-31、LED-32、 LED-33、 LED-35 and LED-36 turn to bright for two seconds after dark for two seconds.

   output:GPIO12~Pin32~light32    GPIO13~Pin33~light33    GPIO19~Pin35~light35    GPIO16~Pin36~light36    GPIO6~Pin31~light31

Running interface:
The result:
3 (2).png

Click here to watch the full video (39.49 KB, Downloads: 8)
Cool stuff! Thx!

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

Points Rules