Okay, so my CS is working, but it goes crazy when I turn my encoder. I have a a Bourns encoder (PEC11-4220F-S0012) which is a 24 DET encoder. I’d like to change the encoder type but I cannot find the option at all in the FM source code. Where is it located? I grep’ed the whole folder and all I could find was some reference in “mios.h” which seems to be more of a decoding of what the options mean in a hex value.
;; used by MIOS_ENC_PIN_TABLE
MIOS_ENC_MODE_NON_DETENTED EQU 0x00
MIOS_ENC_MODE_DETENTED EQU 0x80
MIOS_ENC_MODE_DETENTED1 EQU 0x80
MIOS_ENC_MODE_DETENTED2 EQU 0x81
MIOS_ENC_MODE_DETENTED3 EQU 0x82
Further searching does not reveal any other reference to “MIOS_ENC_PIN_TABLE”
P.S.: README.txt of the current MBFM release is confusing, it contains some artifacts from the previous “flat” project structure - sorry about that! I already corrected this in the development version.