Version 3.13 : debounce time added for wiringPiISR and waitForInterrupt library functions. Documentation update

This commit is contained in:
phylax2020
2025-01-29 19:09:32 +01:00
parent b55101e013
commit 0bf457519d
6 changed files with 77 additions and 39 deletions

View File

@@ -289,10 +289,11 @@ extern void digitalWriteByte2 (int value) ;
// Interrupts
// (Also Pi hardware specific)
extern int waitForInterrupt (int pin, int mS) ;
extern int wiringPiISR (int pin, int mode, void (*function)(void)) ;
extern long long int waitForInterrupt (int pin, int mS, int bouncetime) ;
extern int wiringPiISR (int pin, int mode, void (*function)(unsigned int, long long int), int bouncetime) ;
extern int wiringPiISRStop (int pin) ; //V3.2
extern int waitForInterruptClose(int pin) ; //V3.2
extern int waitForInterruptInit (int pin, int mode); //v3.2
// Threads