Skip to content

Commit

Permalink
Add Wire1 support for ESP32 (#32)
Browse files Browse the repository at this point in the history
- add Wire1 support for ESP32
  • Loading branch information
RobTillaart authored Sep 25, 2023
1 parent 405f158 commit fef0925
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [0.3.8] - 2023-09-25
- add Wire1 support for ESP32


## [0.3.8] - 2023-09-18
- fix #30 Voltage functions (wrapper).
- **void setMaxVoltage(float v)**
Expand All @@ -14,7 +18,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- add examples
- update readme.md


## [0.3.7] - 2023-08-25
- fix #27 - support for multiple MCP4725
- add two examples.
Expand Down
3 changes: 1 addition & 2 deletions MCP4725.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FILE: MCP4725.cpp
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for 12 bit I2C DAC - MCP4725
// VERSION: 0.3.8
// VERSION: 0.3.9
// URL: https://github.com/RobTillaart/MCP4725


Expand Down Expand Up @@ -33,7 +33,6 @@ MCP4725::MCP4725(const uint8_t deviceAddress, TwoWire *wire)

bool MCP4725::begin(const uint8_t dataPin, const uint8_t clockPin)
{
_wire = &Wire;
if ((dataPin < 255) && (clockPin < 255))
{
_wire->begin(dataPin, clockPin);
Expand Down
4 changes: 2 additions & 2 deletions MCP4725.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// FILE: MCP4725.h
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for 12 bit I2C DAC - MCP4725
// VERSION: 0.3.8
// VERSION: 0.3.9
// URL: https://github.com/RobTillaart/MCP4725
//

Expand All @@ -12,7 +12,7 @@
#include "Arduino.h"


#define MCP4725_VERSION (F("0.3.8"))
#define MCP4725_VERSION (F("0.3.9"))


// CONSTANTS
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/MCP4725.git"
},
"version": "0.3.8",
"version": "0.3.9",
"license": "MIT",
"frameworks": "*",
"platforms": "*",
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name=MCP4725
version=0.3.8
version=0.3.9
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for 12 bit I2C DAC - MCP4725
sentence=Arduino library for 12 bit I2C DAC - MCP4725
paragraph=
category=Sensors
url=https://github.com/RobTillaart/MCP4725
Expand Down

0 comments on commit fef0925

Please sign in to comment.