Home TutorialsmegaAVR Atmega16 and TIL311

Atmega16 and TIL311

til311

til311

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 DP Cathode N/C
PIN 5 Latch Strobe Input Ground
PIN 7 Ground Ground
PIN 8 Blanking Input
PIN 10 Right DP Cathode N/C
PIN 12 Latch Data Input D PORT D pin 3
PIN 13 Latch Data Input C PORT D pin 2
til311

til311

Code

 

[codesyntax lang=”c”]

int i;

void main()
{
DDRD=0xFF;
PORTD=0xFF;

while(1)
{
for(i = 1; i<=15; i++)
{
PORTD = i;
delay_ms(200);
}
}
}

[/codesyntax]

 

Links

5 PCS Promotion TIL311 HEXADECIMAL DISPLAY WITH LOGIC

You may also like