56 volatile bool led =
false;
76 template <u
int8_t index>
79 #ifdef USE_ENCODER_DEBUG_LED 113 &onEncoder_Raising_A<0>,
114 &onEncoder_Raising_A<1>
164 #ifdef USE_ENCODER_DEBUG_LED 169 const unsigned long tnow =
millis();
190 Serial.write((uint8_t*)&tx,
sizeof(tx));
volatile int8_t encB_port
void calc_and_update_checksum()
int8_t encA_pin[NUM_ENCODERS]
volatile int8_t encZ_valid
void pinMode(uint8_t, uint8_t)
GLvoid *typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
const int PIN_ENCODER_DEBUG_LED
volatile int8_t encB_valid
uint16_t PC_sampling_period_ms
volatile int8_t encZ_port
uint16_t sampling_period_ms
EncoderStatus ENC_STATUS[TFrameCMD_ENCODERS_start_payload_t::NUM_ENCODERS]
void attachInterrupt(uint8_t, void(*)(void), int mode)
void init_encoders(const TFrameCMD_ENCODERS_start_payload_t &cmd)
static const uint8_t NUM_ENCODERS
int8_t encZ_pin[NUM_ENCODERS]
unsigned long millis(void)
#define digitalPinToBitMask(P)
void digitalWrite(uint8_t, uint8_t)
static void onEncoder_Raising_A()
int8_t encB_pin[NUM_ENCODERS]
#define portInputRegister(P)
unsigned long PC_last_millis
#define digitalPinToInterrupt(p)
func_ptr my_encoder_ISRs[TFrameCMD_ENCODERS_start_payload_t::NUM_ENCODERS]
#define digitalPinToPort(P)