Jump to content

reading AIN at boot


julienvoirin

Recommended Posts

Does anyone know how to code "read the value of J5 pin0 at the start up of the midibox" ? the goal is to read the pot value without having to move it

I would take a look at the MIOS_AIN_PinGet(pin) function. You can call it from Init() and it returns the value of the selected pin. There are also 7bit and seperate LSB/USB functions.

Cheers

Phil

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...