ATMEGA16 Archive
This is a picture of the 8 x 8 LED matrix display I used which I connected to my ATmega16 Here are the connections CS -> PORTD 2 DIN -> PORTD 1 CLK -> PORTD 0 Schematic
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 a configuration like the picture below. Image
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 D pin 1 PIN 3 Latch Data Input A PORT D pin 0 PIN 4 Left
Sometimes in your projects you simply do not have enough I/O lines available, take for example a lot of the multiple LED examples, these use 8 outputs to control 8 LEDs via your PIC, that can restrict
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 of the code, we use Port B