RCTIME in SX/B v1.10b
Has anyone had any trouble with the RCTIME command in SX/B in the new version V1.10b ?
I had a program which used to work·with the SX/B inside SX-key 3.0 but when I 'upgraded' the RCTIME stopped working.
Been backwards and forwards several times with install/uninstall and its repeatable
Seems like the RCTIME just returns 0 as if the value is out of range / not measurable, but it works ok in v3.0
Target is the SX28
The program is too embarrassingly untidy to post
Alan Turnbull
I had a program which used to work·with the SX/B inside SX-key 3.0 but when I 'upgraded' the RCTIME stopped working.
Been backwards and forwards several times with install/uninstall and its repeatable
Seems like the RCTIME just returns 0 as if the value is out of range / not measurable, but it works ok in v3.0
Target is the SX28
The program is too embarrassingly untidy to post
Alan Turnbull
Comments
What component values are you using? Please advise so that we can duplicate and solve the problem.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Sorry its taken so long but I had to get the circuit stripped down to its bare essentials.
What I have is the standard state 1 cct from the online help of RCTIME. ie charge cap high and measure decay time.
C= 0.1uF·· R = 10K variable·· and a 220R in series with io pin
The LED output is just a simple test LED down to Vss.
I've enclosed the listing files from version 1.0· and version 1.10 captured as txt files
The cap voltage is doing all the right things on the scope and its decay is altering with the variable R.
Hope this helps.
Alan Turnbull
http://forums.parallax.com/showpost.php?p=0
Note that the output listing will show Version 1.10.1
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Post Edited (Jon Williams) : 1/6/2005 12:08:19 AM GMT
Thanks for the update, it works fine.
Alan Turnbull