1ste post!
hello all. I seem to have a problem with serial receive.
this is the code that I use for sending the data, I already used +10 because it seems that it doesn't do any thing when sending a zero
Code:
HSerout [day + 10]
HSerout [month + 10]
HSerout [year + 10]
HSerout [hour + 10]
HSerout [minute + 10]
HSerout [second + 10]
and this is the code that I use for receiving
Code:
HSerin 3000,TimeOut, [CurrendDate(0)]
HSerin 100,TimeOut, [CurrendDate(1)]
HSerin 100,TimeOut, [CurrendDate(2)] '?
HSerin 100,TimeOut, [CurrendTime(0)] '?
HSerin 100,TimeOut, [CurrendTime(1)]
HSerin 100,TimeOut, [CurrendTime(2)]
the problem is that if I send "10,11,12,13,14,15" I'll receive "10,11,13,13,14,15" any explanation for this? I tryed every thing
Bookmarks