switching from BS2 to BS2sx
Johnny-5
Posts: 34
is the PWM different between the two? Would i have to change my old BS2 programs to work with the BS2sx?
Comments
Its a great chip and the extra speed and memory are well worth learning to use.
Cheers
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
2us (units of duration) * 750 (value of servo center pulse) = 1500 us pulse
for the sx, it's units of duration is 0.8us. time for the good ole algebra 0.8 * X = 1500
if im understanding everything right (i dont have a sx, just a normal bs2) then X should equal 1875
pulsout PIN 1875 should give you the same result on the sx that pulsout PIN 750 gives on the normal bs2
anyone, correct me if im wrong, i hope i read everything right... it's 3am here after all lol
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I know just enough to tinker with something... but not enough to fix it when I break it. Thank the techie gods theres forums...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support