Where and what would I add into repetier?
DO you mean like this?
#define UI_ENCODER_A 11,12
#define UI_ENCODER_B 11,12
because that generates a huge error,
In file included from C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\Repetier.h:546:0,
from C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.cpp:20:
ui.h:864: error: macro "SET_INPUT" passed 2 arguments, but takes just 1
UI_KEYS_INIT_CLICKENCODER_LOW(UI_ENCODER_A, UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
^
ui.h:864: error: macro "SET_INPUT" passed 2 arguments, but takes just 1
ui.h:864: error: macro "PULLUP" passed 3 arguments, but takes just 2
ui.h:864: error: macro "PULLUP" passed 3 arguments, but takes just 2
ui.h:874: error: macro "READ" passed 2 arguments, but takes just 1
UI_KEYS_CLICKENCODER_LOW_REV(UI_ENCODER_A, UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
^
ui.h:874: error: macro "READ" passed 2 arguments, but takes just 1
In file included from C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\Repetier.h:546:0,
from C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.cpp:20:
C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.h: In function 'void uiInitKeys()':
ui.h:333: error: 'SET_INPUT' was not declared in this scope
#define UI_KEYS_INIT_CLICKENCODER_LOW(pinA,pinB) SET_INPUT(pinA);SET_INPUT(pinB); PULLUP(pinA,HIGH);PULLUP(pinB,HIGH);
^
C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.h:864:3: note: in expansion of macro 'UI_KEYS_INIT_CLICKENCODER_LOW'
UI_KEYS_INIT_CLICKENCODER_LOW(UI_ENCODER_A, UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
^
ui.h:333: error: 'PULLUP' was not declared in this scope
#define UI_KEYS_INIT_CLICKENCODER_LOW(pinA,pinB) SET_INPUT(pinA);SET_INPUT(pinB); PULLUP(pinA,HIGH);PULLUP(pinB,HIGH);
^
C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.h:864:3: note: in expansion of macro 'UI_KEYS_INIT_CLICKENCODER_LOW'
UI_KEYS_INIT_CLICKENCODER_LOW(UI_ENCODER_A, UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
^
In file included from C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\Repetier.h:546:0,
from C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.cpp:20:
C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.h: In function 'void uiCheckKeys(uint16_t&)':
ui.h:339: error: 'READ' was not declared in this scope
#define UI_KEYS_CLICKENCODER_LOW_REV(pinA,pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!READ(pinA)) uid.encoderLast |=2;if (!READ(pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]);
^
C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.h:874:3: note: in expansion of macro 'UI_KEYS_CLICKENCODER_LOW_REV'
UI_KEYS_CLICKENCODER_LOW_REV(UI_ENCODER_A, UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
^
ui.h:339: error: 'READ' was not declared in this scope
#define UI_KEYS_CLICKENCODER_LOW_REV(pinA,pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!READ(pinA)) uid.encoderLast |=2;if (!READ(pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]);
^
C:\Users\Nick\AppData\Local\Temp\arduino_build_714027\sketch\ui.h:874:3: note: in expansion of macro 'UI_KEYS_CLICKENCODER_LOW_REV'
UI_KEYS_CLICKENCODER_LOW_REV(UI_ENCODER_A, UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
^
Using library SPI at version 1.0 in folder: d:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
exit status 1
macro "SET_INPUT" passed 2 arguments, but takes just 1