My button is connected to +5V, i just tried with PIND == 0 and connected my button to ground, but all i achieved was constant blinking :(
I might need a pull down resistor, so i have to look into...
Type: Posts; User: muhaitio
My button is connected to +5V, i just tried with PIND == 0 and connected my button to ground, but all i achieved was constant blinking :(
I might need a pull down resistor, so i have to look into...
Thanks for the input!
Let me clear a few things up.
My LED is actually multiply LEDS, i have one in each port on PORTB.
All the LEDS works with the code you describe above, my problem is that i...
Hey, im super new to coding so sorry for this noob question. I have the arduino and im coding in C.
I simply cant figure out why my code isnt working.
#define F_CPU 16000000UL
#include...