/* Title: blink_led_c.ino Author: Lucas Lim Date Created: 19/03/2019 Last Modified: 19/03/2019 Purpose: Press the switch button to turn on LED */ // ----- Preamble ----- // #include // Defines pins, ports, etc #include // Functions to waste time, provide the _delay_ms() function int main(void) { // ----- Inits ----- // /* DDRx - Data Direction Registers (port x), PORTx - Port x data register Pinx - Port x input pins address Note : Simple way to rememebr PIN=Port INput, PORT= Port Outport Register Thing Assignment operators To set a bit to one |= (1< &= ~(1< ^= (1<