Update debounce docs
This commit is contained in:
		@@ -30,7 +30,7 @@ class MyKeyboard(KMKKeyboard):
 | 
			
		||||
            row_pins=self.row_pins,
 | 
			
		||||
            # optional arguments with defaults:
 | 
			
		||||
            columns_to_anodes=DiodeOrientation.COL2ROW,
 | 
			
		||||
            interval=0.02,
 | 
			
		||||
            interval=0.02,  # Debounce time in floating point seconds
 | 
			
		||||
            max_events=64
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
@@ -68,7 +68,7 @@ class MyKeyboard(KMKKeyboard):
 | 
			
		||||
            # optional arguments with defaults:
 | 
			
		||||
            value_when_pressed=False,
 | 
			
		||||
            pull=True,
 | 
			
		||||
            interval=0.02,
 | 
			
		||||
            interval=0.02,  # Debounce time in floating point seconds
 | 
			
		||||
            max_events=64
 | 
			
		||||
        )
 | 
			
		||||
```
 | 
			
		||||
@@ -94,7 +94,7 @@ class MyKeyboard(KMKKeyboard):
 | 
			
		||||
            # optional arguments with defaults:
 | 
			
		||||
            value_to_latch=True, # 74HC165: True, CD4021: False
 | 
			
		||||
            value_when_pressed=False,
 | 
			
		||||
            interval=0.02,
 | 
			
		||||
            interval=0.02,  # Debounce time in floating point seconds
 | 
			
		||||
            max_events=64
 | 
			
		||||
        )
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user