Commit Graph

11 Commits

Author SHA1 Message Date
RobTillaart
feeaab9d20 #131 replaced TWBR register code with wire.setClock()
+ added begin(dataPin, clockPin) for ESP platforms too
2019-10-14 13:16:57 +02:00
RobTillaart
a9eb3aecf3 updated version nr. 2018-10-24 16:55:52 +02:00
per1234
04610471c5 MCP4725: Remove erroneous const keyword from parameter
Previously, when MCP4725_EXTENDED was defined, compilation of the library failed:

E:\arduino\libraries\MCP4725\MCP4725.cpp: In member function 'int MCP4725::writeRegisterMode(uint16_t, uint8_t)':

E:\arduino\libraries\MCP4725\MCP4725.cpp:195:9: error: assignment of read-only parameter 'reg'

     reg = reg | (_powerDownMode << 1);

         ^
2018-10-17 23:48:42 -07:00
RobTillaart
185ceeb066 + MCP4725 0.1.7 refactor 2017-04-20 09:20:26 +02:00
RobTillaart
d862556833 + 0.1.6
+ remove timeout - issue #63
+ small refactor
2017-04-19 12:31:31 +02:00
rob tillaart
1f13512d0b + version 0.1.05
+ stricter interface (const)
2015-03-06 20:19:01 +01:00
Rob Tillaart
0611abf7d3 + 0.1.04
+ fixed powerDownMode (still experimental,use with care)
+ added corrections to powerOnReset()
+ added corrections to powerOnWakeUp()
+ changed interface + behavior of writePowerDownMode()
+ added conditional code where needed
+ added testcode for powerDownMode()
2013-12-04 19:42:58 +01:00
Rob Tillaart
e2cd8c1a75 + 0.1.03
+ added powerDownCode
  (code/interface is experimental, test + refactor needed)
+ added RDY test in several places
+ removed smooth2Value() => sample sketch
+ extended test sketch
+ tested on 100, 400, 800 KHz (works)
2013-12-01 22:09:02 +01:00
Rob Tillaart
79a66c4bc8 + 0.1.02
+ added readEEPROM
+ added RDY (to check EEPROM write is done)
+ writeDAC() has got a flag for writing to EEPROM
+ prepare for PowerDownMode
+ cleaned up code a bit (some more still needed)
2013-12-01 19:33:59 +01:00
Rob Tillaart
f252aa514e + 0.1.01
+ added readDAC(), writeDAC(val), registerWriteMode()
+ made part conditional - MCP4725_EXTENDED - to minimize footprint
+ upgraded test sketch
+ some layout
+ prep EEPROM & PowerDownMode
2013-11-30 23:41:37 +01:00
Rob Tillaart
d7e68d4c3a + version 0.1.00 initial
+ writeFastMode() only - basic
+ setValue(v)
+ smooth2Value(v, n) - in n steps to new value
2013-11-24 21:59:40 +01:00