jonne
February 22, 2020, 8:59am
61
@jpfli … EXT16 was repurposed to ISP mode set to allow serial programming of Pokitto
Buttons were earlier done with interrupt (7 buttons, 7 interrupts) until it became evident polling is better
That is why only 1 interrupt was available
If you use only polling buttons, you can free up all pin interrupts
#define PROJ_BUTTONS_POLLING_ONLY and other mysteries
2 Likes
jpfli
February 22, 2020, 11:39am
62
D’oh! I actually had PROJ_BUTTONS_POLLING_ONLY in an earlier unpublished version, but it got lost when cleaning up / rewriting the code. Thanks for bringing that up.
4 Likes
Another case showing it should be the default now
4 Likes
So I’m not crazy, it works just not the version I have downloaded?
jpfli
February 23, 2020, 8:51am
65
The cyclometer works well with one interrupt. I just downloaded the zip file from my earlier message and tested it.
It was my attempt to add more inputs that failed.
1 Like
So the current version (us units) doesn’t work but the original one from oldest post works?
I’ll try it again later today.