31.07.2015 Views

A-Teachers-Guide-to-the-Intel-Galileo-Final

A-Teachers-Guide-to-the-Intel-Galileo-Final

A-Teachers-Guide-to-the-Intel-Galileo-Final

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A TEACHER’S GUIDE TO THE INTEL® GALILEO | 22Blink with Ardublock1. From <strong>the</strong> ‘Control’ menu, place a ‘Loop’ block in your work area.2. From <strong>the</strong> ‘Pins’ menu connect a ‘Set Digital Pin’ block <strong>to</strong> <strong>the</strong> Loop block. Set <strong>the</strong> Pinnumber <strong>to</strong> 13, and leave <strong>the</strong> output set <strong>to</strong> ‘HIGH’. This means that when <strong>the</strong> Pin 13 of<strong>the</strong> <strong>Galileo</strong> receives power, <strong>the</strong> LED will turn on.3. Connect a second ‘Set Digital Pin’ block <strong>to</strong> <strong>the</strong> Loop block. Set <strong>the</strong> Pin number <strong>to</strong> 13, andleave <strong>the</strong> output set <strong>to</strong> ‘LOW’. This will turn <strong>the</strong> LED off again, and restart <strong>the</strong> code in <strong>the</strong>Loop block.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!