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.
HenrikOlsson Yesterday, 18:30Wow, I designed those into counting circuits about 45 years ago.....
DaveP Yesterday, 13:04It looks like you have a 16F1826 selected instead of 16F1827.
DaveP Yesterday, 13:02Thank you ! Just tried ... What could cause these two errors?
fratello Yesterday, 07:00Got 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...
Here are my settings. Use it as a starting point.
#config
__config _CONFIG1, _FOSC_INTOSC & _WDTE_ON & _PWRTE_ON & _MCLRE_OFF & _CP_OFF & _CPD_OFF & _BOREN_ON & _CLKOUTEN_OFF & _IESO_OFF &...
Qualifying Compiler |
Upgrade Description | |
Upgrade PICBASIC PRO (PBP) 2.60 or later to PBP3 Gold Edition | ||
|
||
|
||
Upgrade PICBASIC Compiler (PBC) to PBP3 Silver Edition |
Re: Scanning encoder debounce on new scope
I also found the MAX6818 debouncer, but it's $4.37 for 8-bit at JLCPCB.
Demon Today, 00:07More like master of none. :wink: