Page 1 of 1

ProMiniExtender API doc?

Posted: 26 Feb 2024, 20:39
by uxhamby
Hi,

Suppose I wanted to use the ProMiniExtender directly from a Raspberry Pi, via its GPIO I2C interface.

Is there an API document available somewhere, that details how to talk to it?

Thanks,

Brian H.

Re: ProMiniExtender API doc?

Posted: 26 Feb 2024, 21:50
by Ath
Couldn't find any documentation online, but the protocol is rather simple, as it can either turn a pin on or off (command value 1), or output a PWM signal at it (command value 3), followed by a pin number (1 byte) and the low byte and high byte of the value to set (PWM is probably the duty cycle, that's only documented in the rather outdated wiki)
Technical guidance can be obtained from the ESPEasy sources for that plugin (essential parts).