Pulse to AUX1 example

Thanks Rob. Got it.

I’m using AUX1 to switch power to my sensor, which is probably a common application. As measurements are taken on a regular interval, it would be great to also be able to specify an interval.

For example, _aux_gpio_set with a value of ,,,high,1300,1713322315,31536000, 86400 means pulse AUX4 HIGH for 1300ms, valid for 3153600 seconds (1 year) from 1713322315 until 1744858315, repeating every 86400 seconds (1 day).

2 Likes