Using the Digital Pin as a trigger to read the analog pin


#1

Is it possible to set a Digital Pin high then read from the Analog Pin from within the Analog Code? I’m not looking for this to be push button app, but attempting to toggle the digital pins HIGH and LOW as a way of using multiple Digital Pins to control multiple sensors tied to the analog pin.

Thanks…


#2

@rsnjdx, it is current not possible to do multiple operations in a single API call.
You can give the request to make the pin HIGH and then do a read from the analog pin using two different calls.