diff options
Diffstat (limited to 'src/DuetNG/DueXn.h')
-rw-r--r-- | src/DuetNG/DueXn.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DuetNG/DueXn.h b/src/DuetNG/DueXn.h index 312620ec..e943b116 100644 --- a/src/DuetNG/DueXn.h +++ b/src/DuetNG/DueXn.h @@ -27,6 +27,7 @@ namespace DuetExpansion bool DigitalRead(Pin pin); // Read a pin void DigitalWrite(Pin pin, bool high); // Write a pin void AnalogOut(Pin pin, float pwm); // Set the PWM value on this pin + uint16_t DiagnosticRead(); // Diagnose the SX1509 by setting all pins as inputs and reading them }; #endif /* SRC_DUETNG_DUEXN_H_ */ |