Code:
' So I define the normal characters :
DATA @10,$3E,$51,$49,$45,$3E,_ ';// 0
$00,$42,$7F,$40,$00,_ ';// 1
$42,$61,$51,$49,$46,_ ';// 2
$21,$41,$45,$4B,$31,_ ';// 3
$18,$14,$12,$7F,$10,_ ';// 4
$27,$45,$45,$45,$39,_ ';// 5
$3C,$4A,$49,$49,$30,_ ';// 6
$01,$71,$09,$05,$03,_ ';// 7
$36,$49,$49,$49,$36,_ ';// 8
$06,$49,$49,$29,$1E,_ ';// 9
$08,$08,$3E,$08,$08,_ ';// +
$08,$08,$08,$08,$08,_ ';// -
' and display the temperature :
'================= setting cursor for display the temperature
LcdReg = %10100000 + 22 ' cursor X
call PrintCtrlLcd
LcdReg = %01000010 ' cursor Y
call PrintCtrlLcd
'================= now display temperature
Char = (temperature dig 3)
call PrintChar
Char = (temperature dig 2)
call PrintChar
Char = 14 ' this is decimal point
call PrintChar
Char = (temperature dig 1)
Call PrintChar
'
'here I try to display with BIG font :
'===============================================
' try to define BIG zero :
DATA @10,$1F,$1F,$66,$66,$61,_ ';// the 1/4 left-down part of zero
$7C,$7C,$03,$03,$43,_ ';// the 1/4 left-up part of zero
$43,$33,$33,$7C,$7C,_ ';// the 1/4 right-up part of zero
$61,$60,$60,$1F,$1F,_ ';// the 1/4 right-down part of zero
' and display the temperature :
'================= setting cursor for display the temperature
LcdReg = %10100000 + 22 ' cursor X
call PrintCtrlLcd
LcdReg = %01000010 ' cursor Y
call PrintCtrlLcd
'================= now display temperature
Char = ??????????
call PrintChar
Char = ??????????
call PrintChar
Char = ?????????? ' redefine of decimal point
call PrintChar
Char = ??????????
Call PrintChar
Bookmarks