Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/DuetNG/DueXn.h')
-rw-r--r--src/DuetNG/DueXn.h1
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_ */