i cant get it working, tryd for ours (meanwhile for days...) i want to read the J5 Pins periodicaly (want to read a IR-Sensor)
that should do the job:
void APP_Init(void){ MIOS32_BOARD_J5_PinInit(4, MIOS32_BOARD_PIN_MODE_ANALOG); }
void APP_Tick(void){ s16 state = MIOS32_BOARD_J5_PinGet (4);
MIOS32_MIDI_SendDebugMessage("val: %d ", state ) ;}
MIOS-Monitor print: val: 0.
Its No Hardware Issue, since:
When config the J5 Pins as DIN or D