Do you mean how do you display 4 digits on an 8x8 display without scrolling? That I don't think you can do and still be able to read it.
Maybe I just don't understand the question![]()
Do you mean how do you display 4 digits on an 8x8 display without scrolling? That I don't think you can do and still be able to read it.
Maybe I just don't understand the question![]()
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Sorry for my poor english...
So, If set tens hour : on matrix appears (without scrolling) tens hour digit only.
If set hour : on matrix appears (without scrolling) hour digit only.
etc, etc.
Otherwise I can't setting the clock, because I don't see what happens ...
I DID IT !
Full working () version of scroll-thermo-clock, using PIC16F877A. With buttons for setting hours/minutes !
Enjoy !
LE : The answer on my previous question:
Code:portb=0 portd=0 pause 1 FOR counter = 0 TO 4 READ oraa*5+counter,leddata [counter] NEXT PORTB=%11111111 PORTD = 1 FOR counter = 0 TO 4 PORTB = leddata [counter] PORTD = PORTD * 2 leddata [counter] = leddata [counter+1] NEXT
Last edited by fratello; - 21st October 2011 at 14:35.
Awesome!!!!!!!!
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Bug of setting hours (23-->0) solved :
andCode:' Decrement Units Hours ' --------------- If CounterC=1 then if setdechour=2 then IF SetHour=0 THEN SetHour= 3 else SetHour=SetHour-1 Endif else if sethour=0 then sethour=9 else sethour=sethour-1 endif endif endif
This is it ! Best regards !Code:' Increment Units Hours ' --------------- If CounterC=1 then if SetDecHour=2 then if SetHour=3 then SetHour=0 else SetHour=SetHour+1 endif else if SetHour=9 then SetHour=0 else SetHour=SetHour+1 endif Endif endif
Last edited by fratello; - 21st October 2011 at 19:57.
Just connect RD7 to matrix and having 8 columns instead 7. No software update required.
![]()
Soft update : if hour < 10 then not show first 0.
Code:if oraa = 0 then FOR counter = 0 TO 4 leddata [counter+41] = %11111111 next else FOR counter = 0 TO 4 READ oraa*5+counter,leddata [counter+41] 'stores tens hours digit in leddata locations NEXT endif
Bookmarks