absurd issue
lenny1337
Posts: 26
heres a new one
· if i == ((toR - fromR)/snap)
······· j++
······· Range[noparse][[/noparse]j-1]· := ping[noparse][[/noparse]1].centimeters(FPING_PIN)········· ' Get Range In centimeters
······· PC_Text.dec(Range[noparse][[/noparse]j-1])················'normal output'
······· PC_Text.out($0D)
······· if (Range[noparse][[/noparse]j-1] <= buffer)
·········· frontobs := (Range[noparse][[/noparse]j-1])
·········· PC_Text.dec(Range[noparse][[/noparse]j-1])··········· '255 output'
·········· PC_Text.out($0D)
······· i~
······· j~
my output is normal, normal, normal, then when range[noparse][[/noparse]j-1] <= buffer, output becomes 255, 255,255, 255, 255, 255, 255, 255, 255, 255 - range is obviously a byte...but what's going on?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lenny Bogdanov
Systems Concept Center
· if i == ((toR - fromR)/snap)
······· j++
······· Range[noparse][[/noparse]j-1]· := ping[noparse][[/noparse]1].centimeters(FPING_PIN)········· ' Get Range In centimeters
······· PC_Text.dec(Range[noparse][[/noparse]j-1])················'normal output'
······· PC_Text.out($0D)
······· if (Range[noparse][[/noparse]j-1] <= buffer)
·········· frontobs := (Range[noparse][[/noparse]j-1])
·········· PC_Text.dec(Range[noparse][[/noparse]j-1])··········· '255 output'
·········· PC_Text.out($0D)
······· i~
······· j~
my output is normal, normal, normal, then when range[noparse][[/noparse]j-1] <= buffer, output becomes 255, 255,255, 255, 255, 255, 255, 255, 255, 255 - range is obviously a byte...but what's going on?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lenny Bogdanov
Systems Concept Center
Comments
dammit.
i missed it every time.
thank you.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lenny Bogdanov
Systems Concept Center
Post Edited (lenny1337) : 2/25/2008 7:25:58 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.co.uk
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
BTW: I type as I'm thinking, so please don't take any offense at my writing style
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.co.uk
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
BTW: I type as I'm thinking, so please don't take any offense at my writing style
Maybe that's not such a hot idea
Look closer at those times you said were weird.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Join us in the Un-Official Propeller IRC channel: irc.freenode.net #propeller
Newbies, oldies, programmers, math professors, and everyone in-between welcome!
Propeller IRC howto