Welcome! Log In Create A New Profile

Advanced

Defining encoder pins

Posted by TCUED 
Defining encoder pins
January 02, 2016 02:35PM
Hi All,
I've reflashed a Megatronics 2.0 to the latest 1.1 Marlin and am trying to get my peripherals working again. It is hooked up to a VIKI I2C controller (LCD, Encoder, and SD slot). The display is working, but I'm having difficulty with the encoder and SD card. Neither are responding. I'm pretty sure I have to define the ENC_A, ENC_B, and SS pins for the firmware, but I haven't found the right spot or syntax to do it. For instance, I've tried adding "#define BTN_EN1 46 //ENC_A" and so forth to the Megatronics 2.0 pin config, but no luck.

I know the controller is wired to the Mega correctly as it worked before the reflash. (For context, the OEM (now out of business) never configured Marlin's temperature parameters very well for the printer (among other things), so I am working to improve it.)
Thanks for any help!
T
Re: Defining encoder pins
January 02, 2016 03:26PM
Nevermind. I appear to have encoder action now. Just too fast...
Re: Defining encoder pins
January 04, 2016 08:53AM
//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
Sorry, only registered users may post in this forum.

Click here to login