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 !

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
×
×
  • Create New...