We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd33b9b commit b5d9fdfCopy full SHA for b5d9fdf
1 file changed
java/libraries/io/src/processing/io/GPIO.java
@@ -511,19 +511,4 @@ protected static boolean waitForInterrupt(int pin, int timeout) {
511
return true;
512
}
513
514
-
515
516
- /**
517
- * Waits for the value of an input pin to change
518
- *
519
- * Make sure to setup the interrupt with enableInterrupt() before calling
520
- * this function. This function will wait indefinitely for an interrupt
521
- * to occur.
522
- * @parm pin GPIO pin
523
- * @see enableInterrupt
524
- * @see disableInterrupt
525
- */
526
- protected static void waitForInterrupt(int pin) {
527
- waitForInterrupt(pin, -1);
528
- }
529
0 commit comments