toxictv101 Posted January 20, 2007 Report Posted January 20, 2007 hi alli need some help to finish my boxit'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 othersi ve a idea of where i could put some code but dont know exactly what to calland i know that the folowin function is call 1ms after some output have changecan 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_FetchDINUSER_SR_Service_Finish_End return---------------------------------------------------------------------------------------------tks ! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.