Code: Select all
"level,30"Code: Select all
"\"level\":30"Code: Select all
"level,30"Code: Select all
"\"level\":30"The INTn interrupt output can be configured as active-
low, active-high or open-drain via the IOCON register.
Code: Select all
while(gpio_get_level(GPIO_INPUT_IO_0) == 1) {
You need another delay after bringing back the lines to HIGH ...What do you think ?
You need to have your declaration "uint32_t c = 0;" to be volatile, ie "volatile uint32_t c = 0;"The display shows "c : 0" continuously.