Originally Posted by
wellyboot
Hi again, Thanks for your replys, have made a couple of alterations
1st) I noticed when the digits 1st came onto the display on the right hand side column, the left hand side column some of the LEDs lit very dimmly when they should have been off.
I have modified the 'LOOP' section of code as follows to fix this problem and speed up the scrolling a bit too.
LOOP:
FOR scroll = 0 TO 35
FOR scan = 0 TO 15
PORTC = 1
FOR counter = 0 TO 7
PORTB = leddata [counter]
PAUSEUS 1500
PORTB = 0
PORTC = PORTC * 2
NEXT
NEXT
FOR counter = 0 TO 34
leddata [counter] = leddata [counter+1]
NEXT
NEXT
GOTO START
END
2) I have improved the look of the characters in the eeprom locations as follows:
eeprom 0,[%00111110,%01010001,%01001001,%01000101,%00111110] '0
eeprom 5,[%00000000,%01000010,%01111111,%01000000,%00000000] '1
eeprom 10,[%01000010,%01100001,%01010001,%01001001,%01000110] '2
eeprom 15,[%00100001,%01000001,%01000101,%01001011,%00110001] '3
eeprom 20,[%00011000,%00010100,%00010010,%01111111,%00010000] '4
eeprom 25,[%00100111,%01000101,%01000101,%01000101,%00111001] '5
eeprom 30,[%00111100,%01001010,%01001001,%01001001,%00110000] '6
eeprom 35,[%00000001,%01110001,%00001001,%00000101,%00000011] '7
eeprom 40,[%00110110,%01001001,%01001001,%01001001,%00110110] '8
eeprom 45,[%00000110,%01001001,%01001001,%00101001,%00011110] '9
3) I have noticed that if the LM35 is too close to the PIC IC the output is higher than normal resulting in a higher temperature being displayed, the PIC IC is cold so i have no idea why this is happening. I have soldered my LM35 onto 3 wires about 4cm's from the board which seems to have corrected the problem.
Hope this covers all the bugs!