ROTFLMAO! 😂😂 :-) :-D X-D On Thu, Jan 19, 2017 at 9:38 AM Dan Roganti via vcf-midatlantic < vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
On Thu, Jan 19, 2017 at 3:26 AM, Evan Koblentz via vcf-midatlantic <
vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
Your assumption is you should get one motor state change per
button push. One generally available debugging method is to add
a print statement to verify. Add one to the turn motor on
and turn motor off path. Then see what you get with the button
push. Possible things you could see are not always getting a print, lots
of prints, or it prints what you expect but the motor isn't doing
what the prints say you commanded it to do. Each leads you down
a next step. The multiple prints would question the assumption
of one button press event per press. You can do a separate test
of just the button press to verify its behavior. I have run into
many occasions where the documentation is unclear or flat out wrong
on how something operates.
I made a test program in LOGO: when button 0 is pressed, it prints
"pressed" on the screen. Ran the program. Each button press results in
exactly one printed statement. Holding the button down results in a
continuous flow of statements.
I'll try testing the real program another time.
I considered the version Doug suggested but I'm not sure how to adjust its
syntax for Lego LOGO.
For now, Dan/Dean are helping me privately with the BASIC approach.
I'll report back in a day or two...
​yea, we're making progress.
But I just might have to borrow that plastic noodle from Jeff the he used
over the VCFed Calendar incident :)
you know, to give you some additional motivation
Maybe this time I should fill up the plastic noodle with cement to increase
the effectiveness
But I wouldn't want to create an incident over this, it wouldn't be
appropriate
Luckily my stitches are out now from surgery, otherwise I might bust one
from the exertion,
while chuckling of course :)
I can see it now, reprinted in the comics
Police: sir, why is this geek lying on the floor unconscious ?
Me: I kept trying to teach him the Art of Programming for his new project
Police: but why is he unconscious
me: I kept trying to show him how to program the interface on his computer
for his robot
Police: sir, how did he wind up unconcious on your floor
Me: he wouldn't listen that you don't need to Read an Output port on a 6522
VIA
Police: OK..........
Me: I kept telling him to use a variable
Police: Alright.........
Me: so I wacked him with my plastic noodle
Police: sir, there's cement in this plastic noodle