Ian_Hurlock Posted September 22, 2003 Report Share 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 Quote Link to comment Share on other sites More sharing options...
TK. Posted September 22, 2003 Report Share 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. Quote Link to comment Share on other sites More sharing options...
Ian_Hurlock Posted September 23, 2003 Author Report Share Posted September 23, 2003 Thank you Sir 8) Ian Quote Link to comment Share on other sites More sharing options...
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.