Hi all,
I've just built a wireless electricity meter monitor and all is well, except that this bit of code is taking 12-13 secs to run (been 15 once), in my imagination it should be 60 secs+the output time (which cant be 2 to 5 secs)
The board is running from 4 x AA with a 3.3v 1117CDT LDO reg
I'm puzzled, this is the old rev 28x1 which I have to calibfreq-4 to get the comms working at 4800bps (newer rev seems a lot better)
Miles
________
mflb
I've just built a wireless electricity meter monitor and all is well, except that this bit of code is taking 12-13 secs to run (been 15 once), in my imagination it should be 60 secs+the output time (which cant be 2 to 5 secs)
The board is running from 4 x AA with a 3.3v 1117CDT LDO reg
I'm puzzled, this is the old rev 28x1 which I have to calibfreq-4 to get the comms working at 4800bps (newer rev seems a lot better)
Miles
Code:
main:
count 4,60000,w3
sertxd (" COUNTER-",#w3,"--")
serout XBEEdataoutPIN,BAUD,("aR",s1,s2,"C",#w3,"------")
goto main
mflb
Last edited: