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: docs/api_device.md
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
Methods to setup the device, get device information and change display options.
4
4
5
+
## Initialization
6
+
5
7
### begin()
6
8
This method is called to initialize the OLED library and connection to the OLED device. This method must be called before calling any graphics methods.
| `address` | `uint8_t` | **optional**. I2C Address. If not provided, the default address is used.|
16
18
| return value | `bool` | ```true``` on success, ```false``` on startup failure |
17
19
20
+
### reset()
21
+
When called, this method reset the library state and OLED device to their intial state. Helpful to reset the OLED after waking up a system from a sleep state.
0 commit comments