Take a look around and you’ll see how easy and fun this is going to be:![](https://lh3.googleusercontent.com/NLbs-JyNSHfm5L-9YeMC3Iz0DWmP8G0c9q2ud43s0vMchV6cNM7RIKeL3pPzhplVmGeHGxCsNZVPDG6vRsaAJ4b82hCWIH_8OxqHrFSaVzZ8tcb8uV8G9142pw)
Start by pulling Blocks over the the Scripting Area to create the following program. You will find the purple Blocks under the
Category.![](https://lh5.googleusercontent.com/mZP9hJvH66eVlSq-_Puw8jHritD9jnrCxfAIUUvvpZEN5ugbgTcjABeE_OtOxgXcXM5mzKV5UTTx9UR71mzCpXjyiyOz26rbn8s9g2rYYiS6dvmZl5CPzvHgyg)
What happens when you click
? How long will it go?
What happens if you click the
?
If you have LEDs hooked up, try the following:
What happens if you add a
You are ready to begin exploring. The other LEDs are hooked to Pin 12 and Pin 13.
|
Here is another quick program to try here or at home:
(from http://pihw.wordpress.com/lessons/rgb-led-lesson-2-scratch-gpio-getting-started/)![](https://lh3.googleusercontent.com/DkupMpLIfKQKoFFork_XEVrzP1IudnP1DWHqDAjHL0JP77AlL_auaUdkZ-DSArqpcTfEdmdlS0FR2tNukxb76RXBYa1EbaixbINhLDRd6vrvvf_Z5Hvcwj3ozQ)
What happens if you change the number of degrees or size of the steps?
Learn More and download free Scratch at: http://scratch.mit.edu
Search Maker's Box for Scratch
No comments:
Post a Comment