Hello,
I hope that a I'm not missing something stupid, but I'm trying a simple circuit. I have a keypad and when pressing the '#' key, the PIC should invert the LEDs states.
What is happening is that the LEDs are initiating in the correct state (so it seems the HEX file was uploaded and the code is working), but when I press the button nothing happens. I don't know what I'm missing here, hope you can give me a hint
Thanks!
P.S.: I've tested the code in Protheus (and it works fine), but I'm thinking in change the simulation software from my classes to yours since yours is Free!
I hope that a I'm not missing something stupid, but I'm trying a simple circuit. I have a keypad and when pressing the '#' key, the PIC should invert the LEDs states.
What is happening is that the LEDs are initiating in the correct state (so it seems the HEX file was uploaded and the code is working), but when I press the button nothing happens. I don't know what I'm missing here, hope you can give me a hint
Thanks!
P.S.: I've tested the code in Protheus (and it works fine), but I'm thinking in change the simulation software from my classes to yours since yours is Free!
- Attachments
- example.zip
- example.simu and the HEX file generated by MPLab
- You don't have permission to download attachments.
- (3 Kb) Downloaded 1 times
Last edited by pendiuk on Fri Nov 13, 2020 8:00 pm; edited 1 time in total (Reason for editing : Missing detail)