Internet of things: Fab, Fritzing and First

Check out the way to build boards using Fritzing! It is cool and free:

Here is my first circuit that I built using the Fritzing tool, and the VisualMicro Arduino code follows. 




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)
     digitalWrite(led1, LOW);    // turn the LED off by making the voltage LOW


Comments (0)

Skip to main content