Skip to content

Commit a5a3f8e

Browse files
author
Kirk
committed
added docs for reset and displayPower() methods. Fixed reset method sig.
1 parent 1f0da2d commit a5a3f8e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/SparkFun_Qwiic_OLED.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,12 @@ class QwiicOLEDBaseClass : public Print { // NOTE: implementing Arduino Print
167167
//
168168
// When called, the system and OLED are reset back to an initial state
169169
//
170+
// Parameter Description
171+
// --------- -----------------------------
172+
// retval true on success, false on failure
170173

171-
void reset(void){
172-
_device.reset();
174+
bool reset(void){
175+
return _device.reset();
173176
}
174177

175178
///////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)