If anybody has tried using the sample code lcd_keypad18.asm that comes with the Personal Mechatronics Lab package - am I supposed to be able to write any letter at all to the LCD? Because I can only write 1,2,3 & A, depending on the column of button I press. The DEBUG LEDs say that my keypad is doing what the textbook thinks it should, though.

Any help is greatly appreciated.

Views: 38

Reply to This

Replies to This Discussion

Also, when I run the debug program, LEDS for ports RB7 and RB6 aren't affected - they still depend on what the last button press was on the Keypad. Is this normal?

^ PROG -> RUN frees up RB6 and RB7

That's a mistake I would constantly make, until I put it in my code to vehemently make sure that it's in run mode when scanning for a keypress from the second row and below)

RSS

© 2024   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service