Hi all,
I’ve been experimenting with switching the AUX1 pin and it works fine by sending JSON via the USB e.g. the JSON below switches AUX1 high
{“req”:“card.aux”,“mode”:“gpio”,“usage”:[“high”,“”,“”,“”]}
It also works fine using the Environment
_aux_gpio_set=high,
However, I’ve had no success pulsing AUX1 using the example in the Docs “[Pulsing GPIO Outputs High or Low with Environment Variables]”.(Working with the Notecard AUX Pins - Blues Developers)
I have tried JSON with no success
{“req”:“card.aux”,“mode”:“gpio”,“usage”:[“high,1300,1713311000,60”,“”,“”,“”]}
or the Environment
_aux_gpio_set=high,1300,1713311000,60,
I’m using
DeviceUID dev:867730051231110 (NOTE-NBGL-500) running firmware 7.2.2.16518
When I apply changes to the Environment variable and use send the JSON {“req”: “hub.sync”} via the USB, then the Notecard connects to the server, then immediately AUX1 goes HIGH. It does not pulse & AUX1 did not go high at the correct time.
I’m stumped. Can anyone suggest what I’m doing wrong.
Thanks,
Paul H