Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Dec 19, 2023
1 parent 98e5240 commit 88438ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PCF8591.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class PCF8591
void enableDAC();
void disableDAC();
bool isDACEnabled();
bool analogWrite(uint8_t value = 0); // returns true on success.
uint8_t lastWrite(); // returns last successful write
bool write(uint8_t value = 0); // returns true on success.
uint8_t lastWrite(); // returns last successful write

// ERROR HANDLING
int lastError();
Expand All @@ -81,6 +81,7 @@ class PCF8591
int _error;

TwoWire* _wire;

};


Expand Down

0 comments on commit 88438ac

Please sign in to comment.