Jump to content

Recommended Posts

Posted

hi all

i need some help to finish my box

it's a midio128 with 8 dout output pin that are play by midi

i would like to get 2x 1ms pulse on pin1 & 2 and keep gate on others

i ve a idea of where i could put some code but dont know exactly what to call

and i know that the folowin function is call 1ms after some output have change

can i put something there that can reset a given pin so 1ms after that it have move.

--------------------------------------------------------------------------

;;  This function is called by MIOS after the shift register have been loaded

;;  Note that this is an interrupt service routine! Use FSR2 instead of FSR0

;;  and IRQ_TMPx instead of TMPx -- and make the routine as fast as possible

;; --------------------------------------------------------------------------

USER_SR_Service_Finish

;; fetch DIN registers if requested

IFCLR MB_STAT, MB_STAT_FETCH_DIN_REQ, rgoto USER_SR_Service_Finish_End

bcf MB_STAT, MB_STAT_FETCH_DIN_REQ

call MIDIO_DOUT_FetchDIN

USER_SR_Service_Finish_End

return

---------------------------------------------------------------------------------------------

tks !

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...