Jump to content

Recommended Posts

Posted

i want to add an encoder to the menu side of an mb64e, now i know that it allows you to use an encoder for rapidly going through the values etc as its stated as a datawheel in the setup file.

now i found this in a forum post from another member here which is helpful.

; Datawheel for menu navigation/data entry connected or not?

; A datawheel can replace the left/right buttons!

; if 0: datawheel not connected

; if >= 1: encoder number assigned to datawheel function

; don't forget to check the pins of the datawheel in MIOS_ENC_PIN_TABLE (-> mios_tables.inc or setup_*.asm)

; it has to be connected to pin 4 and 5 by default

#define DEFAULT_ENC_DATAWHEEL 30

;

; DIN pin numbers of menu buttons

#if DEFAULT_ENC_DATAWHEEL == 0

#define DEFAULT_DIN_MENU_EXEC 1 ; menu exec button assigned to DIN pin #7

#define DEFAULT_DIN_MENU_RIGHT 2 ; menu right button assigned to DIN pin #6

#define DEFAULT_DIN_MENU_LEFT 3 ; menu left button assigned to DIN pin #5

#define DEFAULT_DIN_MENU_SNAPSHOT 4 ; menu snapshot button assigned to DIN pin #4

#else

#define DEFAULT_DIN_MENU_EXEC 58 ; menu exec button assigned to DIN pin #7

#define DEFAULT_DIN_MENU_SNAPSHOT 59 ; menu snapshot button assigned to DIN pin #4

#define DEFAULT_DIN_MENU_RIGHT 56 ; NOT USED - overlayed by datawheel

#define DEFAULT_DIN_MENU_LEFT 57 ; NOT USED - overlayed by datawheel

#endif

however what i want is to have the menu buttons and the encoder, this lets me go left or right through the menu and then i use the encoder/datawheel to increase or decrease the values i select.

now i had to edit my menu buttons for the correct placement on my bpm project due to thier positions on the casework, so my changed setup file looks like this.

#define DEFAULT_ENC_DATAWHEEL 0

#define DEFAULT_DIN_MENU_EXEC 1

#define DEFAULT_DIN_MENU_RIGHT 3

#define DEFAULT_DIN_MENU_LEFT 2

#define DEFAULT_DIN_MENU_SNAPSHOT 5

how can i have a spare encoder that will let me do a value increase in the menu? and keep my left right buttons?

thanks

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...