I've added external drivers to circuitry, so voltage now not an issue, so brightness also can be increased![]()
I've added external drivers to circuitry, so voltage now not an issue, so brightness also can be increased![]()
Bringing up an old thread...
I have CD4514 connected with it's ABCD inputs to upper 4 bits of PORT.D (PORTD4-7)
I have variable that changes values between 0 and 16. Name is A
How Can I directly write this variable to these upper bits?
PORTD.0[4+A]=A seems not to be working...
Try
PORTD.4=A.0
PORTD.5=A.1
PORTD.6=A.2
PORTD.7=A.3
Another way
PORTD=A>>4
Thanks, that works!
Bookmarks