I am working on EC600U module using QuecOpen SDK and connected LED on Pin Number 59.
As per the image, can anyone tell me, what is default function and gpio_dir, gpio_pull, gpio_lvl?
My code is correct or not in line number 108?
I am working on EC600U module using QuecOpen SDK and connected LED on Pin Number 59.
As per the image, can anyone tell me, what is default function and gpio_dir, gpio_pull, gpio_lvl?
My code is correct or not in line number 108?
Hi @sindhuroy,
The default function is just the default function when this pin is initiated, you can change it to 0 so it will initiate as GPIO.
If you want to use it to control the LED, set the pin using ql_pin_set_gpio(pin_num);
and use it to control the pin output.
Cool, like if I want to use it for 2s on and 2second off, how should I initialize it into function?
You can have a loop to toggle the level high and low that has a delay of 2 seconds.