diff --git a/changelog.md b/changelog.md index 4ccc2b7..1cfbb28 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,15 @@ ## grblHAL changelog +20250519 + +Plugins: + +* OpenPNP: changed command letter(s) for `M143`, `M144` and `M145` custom M-codes, `M143` can now be used to read both analog and digital inputs. + +* Misc, event out: added alarm state to supported events. Ref. issue [#1](https://github.com/grblHAL/Plugins_misc/issues/1). + +--- + Build 20250518 Core: @@ -16,7 +26,7 @@ Drivers: Plugins: -* OpenPNP: added support for reading/scaling analog inputs via `M123`, `M124` and `M125` custom M-codes. +* OpenPNP: added support for reading/scaling analog inputs via `M143`, `M144` and `M145` custom M-codes. * Keypad: changed to report itself even if no keypad is connected, added delay before probing the I2C bus to allow the keypad time to boot. diff --git a/gcode.h b/gcode.h index e477f9c..350b6cc 100644 --- a/gcode.h +++ b/gcode.h @@ -253,7 +253,7 @@ typedef enum { LaserPPI_Rate = 127, //!< 127 - M127 LaserPPI_PulseLength = 128, //!< 128 - M128 Laser_Overdrive = 129, //!< 129 - M129 - OpenPNP_GetADCRaw = 143, //!< 143 - M143 + OpenPNP_GetPinState = 143, //!< 143 - M143 OpenPNP_GetADCScaled = 144, //!< 144 - M144 OpenPNP_SetADCScaling = 145, //!< 145 - M145 RGB_WriteLEDs = 150, //!< 150 - M150, Marlin format