Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme.md, keywords #12

Merged
merged 1 commit into from
Dec 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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