Dear Heckler,
Good day!
Sorry about the post. Long time no do the posting. Forgot how to post the code format.
Aside Henrik,
I do read the datasheet of PIC18F4620 and know the EEPROM address is 0 to 1023.
I also try your suggestion like below code,
Code:
Checking Step:
READ $ 200, step
step = step + 1
WRITE $200, step
DEBUG "step = ",DEC step,10,13
if step = 1 then power_on
'.......... continue step increase until step is 14.
If step = 14 then multimeter_judge
goto Checking Step
multimeter_judge:
multimeter_string (64) = 0
DEBUGIN timeout,meter_ng, STR multimeter_string\64
WRITE $100, multimeter_string(0)
WRITE $101, multimeter_string(1)
WRITE $102, multimeter_string(2)
WRITE $103, multimeter_string(3)
if multimeter_string (2)= "H" then judge_ng
goto multimeter_judge
judge_ng:
DEBUG STR multimeter_string(2),10,13
' Sorry I must highlight here for other step is NG, the result can show in hyperterminal except step = 14, the program can run but no output shown in hyperterminal through comport
Bookmarks