ssaguiar
New Member
Hi to all.
This is my first post in this forum and I'm glad to be here.
I am working in a project of a controller for a electronic driven oven and have a question about keys debounce / autorepeat I wish to ask.
In this project, there are several keys:
- Set temperature;
- Set time;
- Set toaster on/off;
- Light on;
- On/off;
- Up;
- Down.
In this project, when you push the Up or Down keys, it ill increment / decrement the display value, making a beep each time.
If you keep the key (Up or Down) pressed for more than 2 seconds, the display value will increment faster (2 values per second) and, if you keep the key pressed formore than 4 seconds after that, these values will increment even faster (4 values per second, more or less).
The processo used is thepic16f677, but I can use for develop, the 16f877a, because I have an easyPic4 development board and it's circuit is diferent from the pcb board of the project..
Has anybody any idea on how to make this work, in pic assembler (mpasm)?
Thanks to all for any help.
Sergio
This is my first post in this forum and I'm glad to be here.
I am working in a project of a controller for a electronic driven oven and have a question about keys debounce / autorepeat I wish to ask.
In this project, there are several keys:
- Set temperature;
- Set time;
- Set toaster on/off;
- Light on;
- On/off;
- Up;
- Down.
In this project, when you push the Up or Down keys, it ill increment / decrement the display value, making a beep each time.
If you keep the key (Up or Down) pressed for more than 2 seconds, the display value will increment faster (2 values per second) and, if you keep the key pressed formore than 4 seconds after that, these values will increment even faster (4 values per second, more or less).
The processo used is thepic16f677, but I can use for develop, the 16f877a, because I have an easyPic4 development board and it's circuit is diferent from the pcb board of the project..
Has anybody any idea on how to make this work, in pic assembler (mpasm)?
Thanks to all for any help.
Sergio