Internet of things: Fab, Fritzing and First
Check out the way to build boards using Fritzing! It is cool and free: https://www.fritzing.org
Here is my first circuit that I built using the Fritzing tool, and the VisualMicro Arduino code follows.
Schematic:
Arduino Code:
VisualMicro Code here, which looks like the “blink” example, and it is, with just a few small changes.
int led1 = 13;
void setup()
{
/* add setup code here */
// initialize the digital pin as an output.
pinMode(led1, OUTPUT);
}
void loop()
{
/* add main program code here */
digitalWrite(led1, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1250);
digitalWrite(led1, LOW); // turn the LED off by making the voltage LOW
delay(250);
}