MIOS32_BOARD_J10_PinGet(8-15) not working

2 posts in this topic

after initialize:

 void APP_Init(void){
  int pin;   for(pin=0; pin<16; ++pin){     MIOS32_BOARD_J10_PinInit(pin, MIOS32_BOARD_PIN_MODE_INPUT_PU);}   }

getting pin 0-7 is workin ok, but 8-15 give me no output:

void APP_SRIO_ServicePrepare(void)  {
            // get GPIO-Pins
            u8 x = 0;
            for(x=0; x<16; x++) {
            if(MIOS32_BOARD_J10_PinGet(x) != flag.j10PinState[x]) {
                MIOS32_MIDI_SendDebugMessage("pin: %d value: %d", x, MIOS32_BOARD_J10_PinGet(x));
                flag.j10PinState[x] = MIOS32_BOARD_J10_PinGet(x);
              } }



Share this post

Link to post
Share on other sites

solved - plugged into wrong Core Connector... had assumed that J10B is near J10A... totally wrong :whistling: upstidu....

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now