At89c2051 Projects Today
Here are some related topics:
if(dir == 0) led = led << 1; if(led == 0x80) dir = 1; else led = led >> 1; if(led == 0x01) dir = 0; at89c2051 projects
I hope you found this helpful!
I hope you found this helpful!
Let me know!
unsigned char segment[] = 0xC0, 0xF9, 0xA4, 0xB0, 0x99, 0x92, 0x82, 0xF8, 0x80, 0x90; // Common anode // For common cathode, invert the bits: ~segment[i] & 0x7F Here are some related topics: if(dir == 0)
