As the title says... Chat on...

User avatar
By TerryE
#16403 Like most open source packages, the primary documentation is the source code. In this case gpio.c. The main mechanism for uninstalling aninterrupt is to look for occurances of
Code: Select allluaL_unref(L, LUA_REGISTRYINDEX, gpio_cb_ref[pin]);
In this case the simplest way is to reset the mode of the pin and this clears down any previously registered callback.