03_Input_output03 by yasusanto

This sketch is missing a short description
This program uses "**Functions**" to organise each blinking pattern of LEDs into a subroutine. This program will produce exactly the same result as ""**e03_Input_output02**"". Functions allow you to organise the structure of your program better and also allows the main routine or other sub-routines to use same functions from multiple locations of the program. This method is especially useful when the program is longer and more complex. (see [Function](http://www.arduino.cc/en/Reference/FunctionDeclaration)) Examine how programs 2 and 3 are different and how functions are used. ![enter image description here](http://coadaptable.com/dnb603/DNH603_LEDs+Switches.png "enter image title here")

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:106855" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>