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.
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.
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.