#include <Arduino.h>#include "arduinodaq_declarations.h"#include "arduinodaq2pc-structs.h"#include "Encoder_EMS22A.h"
Go to the source code of this file.
Functions | |
| bool | init_EMS22A (int8_t init_ENCODER_ABS_CS, int8_t init_ENCODER_ABS_CLK, int8_t init_ENCODER_ABS_DO, uint16_t init_sampling_period_ms) |
| void | processEMS22A () |
| uint16_t | read_EMS22A () |
Variables | |
| bool | EMS22A_active = false |
| unsigned long | EMS22A_last_millis = 0 |
| uint16_t | EMS22A_sampling_period_ms = 200 |
| int | ENCODER_ABS_CLK = A3 |
| int | ENCODER_ABS_CS = A1 |
| int | ENCODER_ABS_DO = A2 |
| bool init_EMS22A | ( | int8_t | ENCODER_ABS_CS, |
| int8_t | ENCODER_ABS_CLK, | ||
| int8_t | ENCODER_ABS_DO, | ||
| uint16_t | sampling_period_ms | ||
| ) |
Returns false on any error in the parameters.
Definition at line 45 of file process_EMS22A.cpp.
| void processEMS22A | ( | ) |
Definition at line 89 of file process_EMS22A.cpp.
| uint16_t read_EMS22A | ( | ) |
Definition at line 64 of file process_EMS22A.cpp.
| bool EMS22A_active = false |
Definition at line 43 of file process_EMS22A.cpp.
| unsigned long EMS22A_last_millis = 0 |
Definition at line 41 of file process_EMS22A.cpp.
| uint16_t EMS22A_sampling_period_ms = 200 |
Definition at line 42 of file process_EMS22A.cpp.
Definition at line 39 of file process_EMS22A.cpp.
Definition at line 38 of file process_EMS22A.cpp.
Definition at line 40 of file process_EMS22A.cpp.