Ian_Hurlock Posted September 22, 2003 Report Posted September 22, 2003 So when I want to change the encoder speed where do I do this. ?And what do I do ?Cheers ;DIan
TK. Posted September 22, 2003 Report Posted September 22, 2003 So long as MIOS based MIDIbox16E and MIDIboxNG not available, you either have to write a handler which allows to configure the speed like demonstrated in enc_speed_v1_3 (btw.: a nice application to find the optimal settings), or you have to add the configuration directly behind the USER_Init label. Example: ;; set speed value for all 64 encoders clrf TMP1 USER_Init_ENC_Loop movlw 3 ; speed divider 3 movwf MIOS_PARAMETER2 movlw MIOS_ENC_SPEED_FAST ; fast mode movwf MIOS_PARAMETER1 movf TMP1, W ; encoder number call MIOS_ENC_SpeedSet incf TMP1, F movlw 64-1 IFNEQ TMP1, ACCESS, rgoto USER_Init_ENC_Loop Best Regards, Thorsten.
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