OK, Perfectthis work well now
I have modified code in this mode, but don't work yet
If temperature > (Tmax*10) then
PORTA.6=1
else
PORTA.6=0
Endif
PORTA.6 go high when power on after showing the values on the display
NOTE :
The variables are still "temperature WORD" and "Tmax BYTE". I tried to change Tmax from BYTE to WORD in the declaration area but it gives me an error when compile



this work well now


Bookmarks