You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/I2CEncoderV2/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,7 @@ The I2C encoder V2 will multiplies this value by 10 (value x10).
241
241
242
242
###### Examples:
243
243
244
-
```C++
244
+
```C++
245
245
encoder.writeAntibouncingPeriod(20); //Set an anti-bouncing of 200ms
246
246
```
247
247
@@ -263,7 +263,7 @@ encoder.writeDoublePushPeriod(50); //Set a period for the double push of 500ms
263
263
This method is used for setting the fade speed **FADERGB** of the RGB LED of the rotary encoder. It the value is 0, the fade option is disabled.
264
264
###### Examples:
265
265
266
-
```C++
266
+
```C++
267
267
encoder.writeFadeRGB(1); //Fade enabled with 1ms step
268
268
```
269
269
@@ -294,7 +294,7 @@ In case an event of the I2STATUS register, the I2STATUS is automatically be rea
294
294
295
295
296
296
297
-
##### bool readStatus(uint8_t s)
297
+
##### bool readStatus(Int_Status s)
298
298
299
299
Must be called after **updateStatus()**, this method is used for checking if some event occurs on the **ESTATUS** register.
300
300
Return value is **true** in case of the event occured, otherwise is **false**
@@ -349,7 +349,7 @@ Return the status of the register **ESTATUS**
349
349
350
350
351
351
352
-
##### bool readInt2(uint8_t s)
352
+
##### bool readInt2(Int2_Status s)
353
353
Must be called after **updateStatus()**, this method is used for checking if some event occurred on the secondary interrupt status **I2STATUS** register.
354
354
Return value is **true** in case of the event occured, otherwise is **false**
355
355
Possible parameters are:
@@ -403,7 +403,7 @@ Return the status of the register **I2STATUS**
403
403
404
404
405
405
406
-
##### bool readFadeStatus(uint8_t s)
406
+
##### bool readFadeStatus(Fade_Status s)
407
407
408
408
When this function is called, it performs a I2C reading.
409
409
This function return **true** when the fade running, otherwise return **false**
0 commit comments