Program your attiny2313 with an Arduino
This is the second part of setting up an Arduino to program an Attiny microcontroller, in the previous parts we added support for the variety of microcontrollers. For reference purposes…
This is the second part of setting up an Arduino to program an Attiny microcontroller, in the previous parts we added support for the variety of microcontrollers. For reference purposes…
A basic PWM example using an Attiny2313 Schematic Code [c] #define F_CPU 1000000UL #include <avr/io.h> #include <util/delay.h> int main(void) { DDRB |= (1 << PB2); // PWM output on PB2…
This is a very similar example to our ATMEGA16 and LCD example. We simply connect our 16×2 LCD display to our Attiny2313 PORTB. Again for simplicity the code is written…
This was another Attiny micro that I had in the tool box, so I decided to create a simple DIY development board (more on that later) and create some basic…