Commit Graph

127 Commits

Author SHA1 Message Date
rob tillaart
12ce1e2710 + 0.1.01 version of Cozir (archive purpose) 2014-11-16 16:00:08 +01:00
rob tillaart
16a464af0d + updated readme.txt (dhtlib) 2014-11-16 14:25:44 +01:00
rob tillaart
93a4857bc4 + version 0.1.05 (0.1.04 experimental only)
+ added back function to "reverse map"
+ fastMapDemo2 shows usage of 2 FastMaps
+ fastMapDemo3 shows usage of back function
+ FASTMAP_LIB_VERSION in PROGMEM
2014-11-02 22:20:21 +01:00
rob tillaart
e7316bd15b + 0.1.03 renamed to CamelCase 2014-11-02 17:24:21 +01:00
rob tillaart
e81fca5089 + remove fastmap to get naming right (CamelCase) 2014-11-02 17:23:40 +01:00
rob tillaart
520cd5c269 + added constrainedMapDemo
+ renamed fastMapDemo
2014-11-02 17:07:49 +01:00
rob tillaart
67310e2e04 + 0.1.02 fastMap first stable version
+ does as much math as possible in advance
+ 3 versions of constrained map
2014-11-02 15:30:40 +01:00
rob tillaart
9d290fe4fc + added support for all errors 2014-10-23 16:15:26 +02:00
rob tillaart
0a3df91ed3 + 0.1.04
+ changed float to double (for platforms which support it)
+ changed divisions in multiplications
+ fixed uint32_t readADC()
+ reduced size of C array by 1 float
+ added second order temperature compensation
2014-10-19 13:02:42 +02:00
rob tillaart
2e5b971a8f + 0.1.03
+ changed math to float [test version]
2014-10-19 13:01:09 +02:00
rob tillaart
e4db5d21e6 + 0.1.02 (first stable version)
+ fixed bug return value read()
+ fixed bug #bits D2
+ added MS5611_READ_OK
+ added inline getters for temp & pres & lastresult.
+ adjusted delay's based on datasheet
+ merged convert functions
+ fixed offset in readProm()
+ added example/test application
2014-10-19 13:00:16 +02:00
rob tillaart
8d24e1bef7 + refactored (not stable version) 2014-10-19 12:55:45 +02:00
rob tillaart
920d72b5f4 + initial version (not stable) 2014-10-19 12:54:35 +02:00
rob tillaart
e722f7d26c + version 0.1.17
+ replaced micros() with adaptive loopcount
+ removed DHTLIB_INVALID_VALUE (user should decide if value is usable)
+ more detailed errors per phase of handshake
+ added DHTLIB_ERROR_CONNECT
+ added DHTLIB_ERROR_ACK_L  DHTLIB_ERROR_ACK_H
+ added fix for pre 1.0 (not tested)
2014-10-15 08:00:59 +02:00
rob tillaart
41cc579488 + masking unused bits (less errors);
+ refactored bits[] usage
2014-10-15 07:48:27 +02:00
rob tillaart
fa681d5322 + reduced # micros calls 2->1 in inner loop. => footprint -18
detection of the zero/one is doen by measuring the whole bit LOW+HIGH
+ improved wait for acknowledge
+ merged two loopCounters into one.
+ layout
+ dht22_test sketch collects statistics (every 20 reads)
2014-10-08 16:37:30 +02:00
rob tillaart
e4ad65003b + replace digital read with faster (~3x) code
=> smaller footprint
  => more robust for low MHz devices
2014-10-05 10:52:52 +02:00
rob tillaart
9cbe3bf5f9 + update version 0.2.04
+ added getElement() (not released 0.2.03 version)
+ added getSize()    (not released 0.2.03 version)
+ added getCount()   (not released 0.2.03 version)
+ updated keywords.txt
+ added memory protection if there is not enough memory to allocate.
+ added return NAN instead of 0  for getAverage()
+ reduced _size, _cnt, _idx to uint8_t
+ changed extensions of example code to .ino
2014-07-03 22:00:45 +02:00
rob tillaart
457139956d + timing test code
+ removed old code
2014-06-26 20:51:18 +02:00
rob tillaart
e2d0b3b613 + version 0.1.13 (version 0.1.12 not usable -> skipped)
+ added support for DHT33 + DHT44
+ added test sketches for DHT33 + DHT44
+ improved protocol handling
+ refactored code style,
+ refactored footprint (part interface inline)
+ renamed private _read => _readSensor
+ added dht_tuning sketch to see timing
2014-06-26 20:48:20 +02:00
rob tillaart
ba5e9bd8f9 refactored TIMEOUT 2014-06-01 13:58:36 +02:00
rob tillaart
1f2314cdbf optimized wakeup and timeout 2014-06-01 09:48:06 +02:00
rob tillaart
1f8c5f06bb + refactored
+ code style
+ names more explicit e.g. address -> memoryAddress
2014-05-21 21:18:35 +02:00
odbol
511d613332 Added another test for smaller, one-word addressable EEPROMS 2014-05-12 01:59:20 -07:00
odbol
ab454feb86 Added variable page size from guessing given device size. Added support for one-word addresses (for smaller chips) 2014-05-12 01:41:31 -07:00
odbol
d8bb224efc Updated to work on Arduino Due. 2014-05-12 00:22:09 -07:00
rob tillaart
2f60754376 update 2014-02-10 18:56:59 +01:00
rob tillaart
926b202e2c + now including the readme.txt 2014-02-10 18:56:10 +01:00
rob tillaart
54c8c468ef + initial version of readme
+ fix versionnr
2014-02-09 19:35:40 +01:00
rob tillaart
616ee0c061 + 0.1.09
+ optimize size
+ timeout check
+ use of mask to minimize shifts
+ added time measurement in dht22_test
+ reindented code
2014-02-08 13:53:52 +01:00
rob tillaart
5be850301c + fixed negative temperatures (internal too) 2014-01-24 21:15:51 +01:00
rob tillaart
9b2fe13d96 + added offset for temperature (constant)
+ added demo4
+ updated demo3
2014-01-24 21:13:07 +01:00
Rob Tillaart
2c2316f817 + version 0.1.01
+ optimized _read() function for speed
  based upon numbers from datasheet
+ some refactoring
+ added demo2 - delta-read
+ added demo3 - measure timing
2014-01-02 22:24:55 +01:00
Rob Tillaart
d59d553eb2 + initial version 0.1.00
+ two demo sketches
+ short readme.txt
2014-01-02 14:26:26 +01:00
Rob Tillaart
94bb47b666 +replaced statistics -> statistic 2013-12-19 20:38:11 +01:00
Rob Tillaart
a2547d9f51 + 1.1.00 breaking interface
+ begin() addded, needs to be called before use - e.g. in setup() -
+ faster block Wire.Write()
+ removed int casting
+ updated and removed comments
+ updated test sketch
2013-12-15 17:00:26 +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
144e1d7e02 + extended example
+ set I2C -> 100KHz
2013-11-30 22:21:07 +01:00
Rob Tillaart
4126dfc63a + 0.1.08
+ minor revision of comments
+ added formula for timeout to support DUE
2013-11-26 08:29:24 +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
Rob Tillaart
85e3149d9e + update version number
+ additional test
2013-11-09 20:26:51 +01:00
Rob Tillaart
6474ea52b1 +version 0.1.02
+ added setIndentSize()
+ corrected history
+ added escape() for special chars.
+ added comments/examples in .h file
+ added some #defines
2013-11-08 17:13:13 +01:00
Rob Tillaart
65f592b29d + version 0.1.01
+ complete rewritten to be more logical (still work in progress)
+ made some private methods public
+ made some methods conditional to keep footprint small
+ updated demo program to show various methods
2013-11-07 20:02:40 +01:00
Rob Tillaart
b6b7d7ec47 + version 0.1.00
+ initial version to make simple XML output
2013-11-06 22:32:29 +01:00
Rob Tillaart
a8fc6d45e9 + 1.0.05
+ improved waitEEReady() -> on average far lower write latency
+ added determineSize -> behind #ifdef to keep base lib small
+ improved comments
+ corrected return type readBlock()
+ updated test sketch
2013-11-06 17:46:04 +01:00
Rob Tillaart
afcb60364c + version 1.0.04 (stable)
+ moved the waitEEReady() so writing profits more than reading looses.
  Performance numbers have increased quite well! both 100 and 400 KHz
2013-11-03 19:43:10 +01:00
Rob Tillaart
586a9017ee + version 1.0.03
+ replaced 5 millis() write latency, with polling code
+ added return values
2013-11-03 17:06:53 +01:00