gpio_get_level
Posted: Sat Jan 06, 2018 3:29 pm
hello,
gpio_get_level(0) return always 0 in my case, even if the red part of rgb led in esp-WROVER-KIT v3 blink.
And this function repport level correctly.
Thanks,
Pascal
gpio_get_level(0) return always 0 in my case, even if the red part of rgb led in esp-WROVER-KIT v3 blink.
Code: Select all
unsigned long ret_led_level()
{
const unsigned long *myReg = (unsigned long *)(0x3FF44004);
return *myReg;
}
Thanks,
Pascal