Has anyone figured out how to store a result from the keypad without destroying it? I can only seem to define one button, as after that section of code the original result from the keypad seems to be lost
Tags:
So when the switch is set to RUN and you press a key above 4, it resets the PIC?
Yeah, it goes back to the start of my code (the Welcome! screen)
No worries, I'm starting to wonder if my PIC is screwed up xD
if it should have displayed a message read from a table, it's possible your table extended beyond the first 250 words (crossing the boundary at the message for key 4)
I moved the table to the (almost) very beginning of my code.
ic, but then here's my question. If later on our table exceeds 256 lines on its own, what should we do?
I'm not sure. I guess we're forced to work around that
textbook section 7.6.12.smtg (or maybe it was 7.6.13.smtg) solves that problem! Use PCLATH
© 2024 Created by PML. Powered by