Controlling the LeScratch peripherals
We can now run the LeScratch Python program and Scratch 1.4 to try all the sensor modules one by one. In this section, we're going to parse the details of each extension. Then, we're going to introduce you to the demonstration which will be explained in the Building the LeScratch smart house section that uses most of our extension block: the LeScratch smart house. You can also create your own new applications and share them with LeScratch users in the LeMaker Forum at http://www.lemaker.org/forum-171-1.html.
General Purpose Input Output (GPIO)
GPIO is a generic pin on an integrated circuit whose behavior can be controlled by a user at runtime, regardless of whether it is an input or output pin.
Instructions
GPIO pins have no special purpose defined and go unused by default. A number out of the list defined by RPi.BCM
[4, 5, 6, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27] is usually available for GPIO controls. The GPIO board has 40 LEDs and 15...