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 !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now