Join Nostr
2025-03-08 22:11:37 UTC
in reply to

Electrotopia⚡️ on Nostr: ^ look at the section on incremental encoders. The interrupt just causes it to store ...

https://en.m.wikipedia.org/wiki/Rotary_encoder

^ look at the section on incremental encoders.

The interrupt just causes it to store the outputs of the encoders (it's visible as an 8-bit input port), then schedule further processing the next time the OS is called.

The Z80 is running at 8MHz, pretty snappy, so the interrupt response time should be quick enough provided it's not serving lots of higher priority interrupts...but yes it is cutting it closer than I'd like.