OK, I ran the program change9.bsp, then ran the program reader1.bsp. It debugged:
S
That's all. Any ideas what is wrong?
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Comments
I'm still getting the S debug...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
·· The following conditional in your code will never be true because the range cannot be both above and below the specified value of 4.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I'm still getting the error though.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
In change9.bsp, I'd suggest adding a DEBUG statement after your WRITE statement to make sure that the WRITE statement is being called. As it is now, it will only happen if IN3 is 0 at the moment the FOR/NEXT loop ends.
If you have another question, you should post the change you made to change9.bsp in response to the error that Chris found.
And this wouldn't affect your program, but on what planet do you get 65 seconds in a minute and 65 minutes in an hour? I could get a whole lot more done in a day there.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
Thank you for pointing out yet aother error. The seconds are only supposed to be 65, not the minutes. 5 extra seconds every minute help keep the "clock" on time.
So, with all of these adjustments, you'd think it would work. But no, it still debugs nothing. I've attached the files again...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
And since there's no loop in reader1, it will only show the first set of values written.
In change9, why are you adding setmo to month? You could wind up with a value of 24 in month that way. The same for all the other values.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store