Please Help
vladi_05
Posts: 2
Hello I have a problem whit a very simple program. The controller doesn't calculate correct. If some one can help me I'll be very grateful.
' {$STAMP BS2}
' {$PBASIC 2.5}
pulseright VAR Word
DO
pulseright = (-55*277)/1000
DEBUG HOME,CLS, SDEC pulseright
PAUSE 150
LOOP
' {$STAMP BS2}
' {$PBASIC 2.5}
pulseright VAR Word
DO
pulseright = (-55*277)/1000
DEBUG HOME,CLS, SDEC pulseright
PAUSE 150
LOOP
Comments
PBASIC Help for division, modulus, signed numbers, and the rest.