Jump to content

Where does the encoder speed thing go ?


Ian_Hurlock
 Share

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...