pulse0
Newbie level 4
I'm new to microcontroller programming. I'm trying to build a simple program that will blink a LED on pin 12 (PB0).
Here is the rough sketch of my circuit.
Can anyone please give me the full C code for this simple program an then I will build on that and add more components to this circuit.
Also can someone please help me with:
1> how to set pins for output and input?
2> how to retrieve a value from an input pin?
3> how to send data to to output pin?
I would reallllly appreciate any kind of help
sorry about the rough sketch again.
Here is the rough sketch of my circuit.
Can anyone please give me the full C code for this simple program an then I will build on that and add more components to this circuit.
Also can someone please help me with:
1> how to set pins for output and input?
2> how to retrieve a value from an input pin?
3> how to send data to to output pin?
I would reallllly appreciate any kind of help
sorry about the rough sketch again.