RPC Request to Config

#1

Hi,

I want to driver a pin ESP32 to high and low some times,
Before that i need to set the pin as output, How can it be done using RPC request call…?
Because when i set the GPIO high, it works and it goes high, And when i tried to read the status of that pin, it immediately went to High impedance state.!!
Need your support on this…!!

thanks

#2

Have you looked at the Smart Light reference design? I believe there is a working example that makes use of RPCs.

-AD