Skip to content

Commit

Permalink
update readme.md, keywords (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart authored Dec 28, 2020
1 parent ae7d6a9 commit 31d4be2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ of 2.7V .. 5.5V. Check datasheet for the details.


- **MCP4725(deviceAddress)** Constructor, needs I2C address
- **begin(dataPin, clockPin)** for ESP32
- **begin()** for UNO and other boards with hard wired I2C pins.
- **begin(dataPin, clockPin)** for ESP32. Returns true if connected.
- **begin()** for UNO and other boards with hard wired I2C pins. Returns true if connected.
Only suppport for Wire so not for Wire1 or Wire2 etc
- **isConnected()** returns true if device (address) can be seen on the I2C bus.
- **setValue(value)** value = 0 .. 4095
Uses writeFastMode and does not write to EEPROM.
Therfore it does not update the lastWriteEEPROM timestamp.
Expand Down
1 change: 1 addition & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MCP4725 KEYWORD1

# Methods and Functions (KEYWORD2)
begin KEYWORD2
isConnected KEYWORD2
read KEYWORD2
setValue KEYWORD2
getValue KEYWORD2
Expand Down

0 comments on commit 31d4be2

Please sign in to comment.