Fried chip?
Hey y'all,
I recently purchased a BASIC Stamp BoE-Bot. I programmed it to
go forward and backup and turn around based on input from whiskers on
the front. At first it worked, somewhat.
The loop command wouldn't work. Whichever set of code that I
wrote after the whisker check and forward code in the main loop, is
the direction that it would go. Eg. if I wrote the code for a left
turn first, it would turn left. The same for the right turn and u
turn. That was my first problem. How would I go about fixing this?
My second problem occurred after I discovered the first problem.
The robot wouldn't move forward despite the code that I wrote. It
would spin in place, and when I pressed the whiskers to change the
bit value from 1 to 0, the bot just stopped spinning for a few
seconds and then resumed spinning again. Can anyone help me with my
two problems? Should I email Parallax and get a new chip? Thanks in
advance for any help!
Jason Tripp
I recently purchased a BASIC Stamp BoE-Bot. I programmed it to
go forward and backup and turn around based on input from whiskers on
the front. At first it worked, somewhat.
The loop command wouldn't work. Whichever set of code that I
wrote after the whisker check and forward code in the main loop, is
the direction that it would go. Eg. if I wrote the code for a left
turn first, it would turn left. The same for the right turn and u
turn. That was my first problem. How would I go about fixing this?
My second problem occurred after I discovered the first problem.
The robot wouldn't move forward despite the code that I wrote. It
would spin in place, and when I pressed the whiskers to change the
bit value from 1 to 0, the bot just stopped spinning for a few
seconds and then resumed spinning again. Can anyone help me with my
two problems? Should I email Parallax and get a new chip? Thanks in
advance for any help!
Jason Tripp
Comments
obvious that you have a problem with the code.
--- In basicstamps@y..., clay_tripp@y... wrote:
> Hey y'all,
>
> I recently purchased a BASIC Stamp BoE-Bot. I programmed it to
> go forward and backup and turn around based on input from whiskers
on
> the front. At first it worked, somewhat.
> The loop command wouldn't work. Whichever set of code that I
> wrote after the whisker check and forward code in the main loop, is
> the direction that it would go. Eg. if I wrote the code for a left
> turn first, it would turn left. The same for the right turn and u
> turn. That was my first problem. How would I go about fixing this?
> My second problem occurred after I discovered the first problem.
> The robot wouldn't move forward despite the code that I wrote. It
> would spin in place, and when I pressed the whiskers to change the
> bit value from 1 to 0, the bot just stopped spinning for a few
> seconds and then resumed spinning again. Can anyone help me with my
> two problems? Should I email Parallax and get a new chip? Thanks
in
> advance for any help!
>
> Jason Tripp