Hello Unregistered ,
Hello, thank you for visiting the picbasic users forum. Just a little note to remind you that, if your have registeted for a user account and you have not logged in and posted a message, unused accounts are deleted from time to time.
We track user account usage. As part of our general maintenaince and to meet the GDPR requirments, we have elected to delete user accounts that are unused.
We define unused as:
NOT haveing ever posted a message on the forum
AND
NOT having logged in for more than 360 days.
If you find that your account is deleted, because of inactivity, you will need to contact the forum administrator to have the account re-instated. email: [email protected]
This can work just fine: 1. Set up a timer interrupt at 10ms. Or even at 1ms and after ten int's do step 2. 2. Every interrupt read the buttons into the arrays. You can use a low priority...
I also found the MAX6818 debouncer, but it's $4.37 for 8-bit at JLCPCB. More like master of none. :wink:
Nice chip! I did not knew that one although I am of the CMOS era! Anyway, since you master the art of software, I think is waste of money to add hardware when you can debounce in software. ...
Yes, the Config block generated errors. Solved by writing : ASM __config _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_OFF & _CP_ON & _CPD_ON & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_ON...
Those errors comes from using the wrong syntax for the CONFIG block. The example Ioannis posted compiles just fine.
Wow, I designed those into counting circuits about 45 years ago.....
It looks like you have a 16F1826 selected instead of 16F1827.
Thank you ! Just tried ... What could cause these two errors?
Got this from AllAboutCircuits. First time I hear about a MC14490, Hex Contact Bounce Eliminator: https://www.youtube.com/watch?v=BeFYsx6M3BM Too bad it's in multiples of 6 pins. It would...
If you expect the signal to swing between 0 and +5V then set the trigger level to somewhere around 2.5V. As with input coupling the trigger coupling can usually be set to either AC or DC. Perhaps...
Re: Scanning encoder debounce on new scope
This can work just fine:
Ioannis Today, 06:571. Set up a timer interrupt at 10ms. Or even at 1ms and after ten int's do step 2.
2. Every interrupt read the buttons into the arrays. You can use a low priority...