In this example we will show you how to connect a 7 segment display to our Atmega16. You can think of a 7 segment display as 7 individual LEDs in.
Datasheet Til 311 datasheet Connection Here are the TIL311 pin PINS 1 and 14 LED supply/Logic Supply 5v PIN 2 Latch Data Input B PORT.
In this example we connect an LED to PB2 (Pin 14) of an Attiny 2313. The PWM output is obtained from the OC0A output of timer/counter0. Schematic [caption id="attachment_30" align="alignnone".
I recently bought a development board for an ATMEGA128, sadly there was no examples and no schematic supplied but after some trial and error I managed to get this up.
This was one of the first Attint chips that I looked at, so I decided to create a simple DIY development board (more on that later) and create some basic.
In this example we have the hello world of LCD examples, we display that text on the LCD in question. Connection is straightforward and you can see it at the top.