Hi,
using arduino with amb82 module I am trying to configure GPIO. I need it to be High before (there is pull up, so no problem), during and after initialisation as a OUTPUT (or OUTPUT_OPENDRAIN)
Somehow I am not able to do it?
As soon as I call
pinMode(AUTO_EN_PIN , OUTPUT);
the line goes low for a short period of time and resets my circuit.
is there a way to avoid this?
thanks, kind regards.
Andreas
Now it works.
I changed arduino library to set gpio value before setting mode.
2 Likes