Hmm, seems that is like the pdf I posted. Is it the same module?
Based on the infos and the idea of Dave's:
Code:
array var byte[9]
temp var byte
i var byte
j var byte
get_new_data:
SerIn2 PORTB.7,16572,[str array\9]
for i=0 to 8
temp=array[i]
if temp.7=1 then goto send_at_9600
next i
hserout ["Not found!",13,10]
goto get_new_data
for j=i to i+4
hserout [array[j]]
next j
goto get_new_data
end
Hope this will get you started. Don't forget the defines for the Hserout command to set it at 9600.
Ioannis
Bookmarks