RPC Request to Config

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

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

-AD