hasEventOccured method
Checks if an edge event occured for a gpio
Implementation
bool hasEventOccured(GPIO gpio) {
var index = 0;
for (var g in gpios) {
if (g._gpioHandle == gpio._gpioHandle) {
return eventOccurred[index];
}
++index;
}
return false;
}