Blinking an LED using an Arduino is quite simple. Make the following connections and connect the Arduino to the computer via the USB cable: These connections result in the following equivalent schematic: Now open the Arduino IDE, and write the following code: int ledPin=8; void setup() { pinMode(ledPin,OUTPUT); } void loop() { digitalWrite(ledPin,HIGH); delay(250); digitalWrite(ledPin,LOW); … Continue reading Blinking a Simple LED using Arduino Uno→

So, I am learning C now. I actually do know some C previously, but I am actually learning C for the Arduino from an excellent book - C Programming for Arduino. To be honest, I was a little confused about whether to start from "The ANSI C Programming Language by Kernighan and Ritchie" (2nd Edition) … Continue reading Starting with C for Arduino (and revisiting C)→