One more thing... Encoder not working with this application. :P I added "ENC_ENTRY 1, 2, MIOS_ENC_MODE_DETENTED" because i use the correct pins on the J3, pin 2 & 3. recompile correctly, uploaded to the pic and i'm getting nothing from my encoder. Any idea ? ;; encoder entry structure
ENC_ENTRY MACRO sr, din_0, mode
dw (mode << 8) | (din_0 + 8*(sr-1))
ENDM
ENC_EOT MACRO
dw 0xffff
ENDM
global _MIOS_ENC_PIN_TABLE
_MIOS_ENC_PIN_TABLE
MIOS_ENC_PIN_TABLE
;; encoders 1-16
;; SR Pin Mode
ENC_ENTRY 1, 2, MIOS_ENC_MODE_DETENTED
ENC_EOT
ENC_EOT
ENC_EOT
...