Commit Graph

1331 Commits

Author SHA1 Message Date
rob tillaart
2500ca6539 + 0.1.00 initial version (archive) 2014-11-16 18:48:07 +01:00
rob tillaart
4f3ecf096c + 0.1.04 Cozir
+ added history
+ changed CO2() to support larger values - uint32_t
+ added URL
+ reformatted layout
2014-11-16 16:20:59 +01:00
rob tillaart
3ef3907e67 + 0.1.03 Cozir
+ added SetOperatingMode()
2014-11-16 16:04:43 +01:00
rob tillaart
9afc94a7e0 + 0.1.02 Cozir (archive)
+ support for Arduino 1.x (SoftwareSerial)
2014-11-16 16:02:53 +01:00
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
Rob Tillaart
3a49ea46ba + version 1.0.02
+ improved buffer sizes
+ changed datatypes interface
+ refactor
- removed eopAddr
+ improved testProgram

Signed-off-by: Rob Tillaart <rob.tillaart@gmail.com>
2013-11-03 14:20:59 +01:00
Rob Tillaart
6f2088c237 + version 1.0.01
+ fix bug in writeBlock
+ refactor to minimize codebase
+ change private parts
2013-11-03 10:41:19 +01:00
Rob Tillaart
b4e61cd3e7 + correction version string 2013-10-27 19:20:13 +01:00
Rob Tillaart
224f0e4b2c + version 0.1.08
+ added getElement()
+ added getSortedElement()
+ added predict()
+ refactor getHighest(), getLowest()
2013-10-20 15:32:13 +02:00
Rob Tillaart
0acddd3f2b + version 0.1.07
+ added correct median for even element count
+ fix bug in 0.1.06
2013-10-20 00:19:12 +02:00
Rob Tillaart
ff52d49117 + version 0.1.06
+ dynamic internal buffers
+ replace sorted buffer with "indirection buffer"
+ bubble sort + flag (faster)
2013-10-19 15:55:43 +02:00
Rob Tillaart
28b1b43b2a + 0.1.06beta - experimental version
+ dynamic memory option
+ less internal storage
+ faster sort (factor 2 on average)
2013-10-19 15:34:18 +02:00
Rob Tillaart
79c57bc888 + added comments in the header file
+ removed the default constructor, user should be explicit define size
+ created a destructor
+ added support for dynamic allocated internal buffers (not tested)
+ fixed bug in sort routine (swap)
+ patched testsketches
2013-10-19 00:26:50 +02:00
Rob Tillaart
287d2436f4 + add keywords.txt 2013-10-18 19:36:41 +02:00
Rob Tillaart
eba3ece14e + added getAverage(uint8_t nMedians)
+ getSize()
+ getCount()
+ ifdef conditional to keep code small
2013-10-17 20:55:03 +02:00
Rob Tillaart
2febf38191 + version 0.1.01
+ added getO1()  getO2()
+ added zeroAll()
+ added correct powerON reset values
+ refactored code a bit
2013-10-15 21:42:24 +02:00
Rob Tillaart
1896163d06 + initial version
+ several example sketches
2013-10-15 20:18:00 +02:00
Rob Tillaart
4592f98a04 + initial version 2013-10-11 16:04:06 +02:00
Rob Tillaart
df54800ca6 + refactor old sketch to lib 2013-09-30 20:14:38 +02:00
Rob Tillaart
b812c2ca38 + added support for micros & seconds (thx mromani)
+ major refactor
2013-09-30 19:25:09 +02:00
Rob Tillaart
fae951f02a + added sorted flag
+ renamed some #defines (might break some code)
+ added test sketch
2013-09-30 19:10:10 +02:00
Rob Tillaart
24edf387aa + initial version (not working yet) 2013-09-30 18:46:09 +02:00
Rob Tillaart
d9f0dab217 + added comments 2013-09-30 18:39:38 +02:00
Rob Tillaart
5af2868450 + added demo sketch
+ clean up
2013-09-30 18:38:54 +02:00
Rob Tillaart
6c386805e9 + rename filenames 2013-09-30 18:34:23 +02:00
Rob Tillaart
a169730a85 + renamed to PulsePattern 2013-09-30 18:32:34 +02:00
Rob Tillaart
3c55123868 + static PulsePatternOut PPO for short
+ refactor & fixing a lot
2013-09-30 18:31:40 +02:00
Rob Tillaart
06861e1807 + initial version 2013-09-30 18:29:52 +02:00
Rob Tillaart
2f17d2c9f6 + test sketches 2013-09-30 18:23:20 +02:00
Rob Tillaart
202deca306 + improved header
+ redo/undo types
2013-09-30 18:19:55 +02:00
Rob Tillaart
fdce4b6769 + changed some types
+ Arduino 1.0x compatible
2013-09-30 18:17:45 +02:00
Rob Tillaart
a9851b2725 + initial version 2013-09-30 18:15:02 +02:00
Rob Tillaart
5fc4c07626 + set of macros, not special 2013-09-30 18:12:19 +02:00
Rob Tillaart
87845145b5 + added readme.txt
+ comment
2013-09-30 17:22:41 +02:00
Rob Tillaart
4f2a8744a9 + renamed IEEE_Sign
+ renamed IEEE_Exponent
2013-09-30 17:18:58 +02:00
Rob Tillaart
4cf986a132 + added SHIFT_POW2 2013-09-30 17:17:46 +02:00
Rob Tillaart
00877f4951 + added IEEE_NAN
+ added IEEE_INF
+ version string
2013-09-30 17:16:58 +02:00
Rob Tillaart
ca8694992e + initial version 2013-09-30 17:16:02 +02:00
Rob Tillaart
3c445d35ac + BETA WARNING IN README.TXT 2013-09-30 17:12:28 +02:00
Rob Tillaart
7c0e98602e + minor fixes 2013-09-30 17:09:58 +02:00
Rob Tillaart
fc7d6ff468 + added getHeading()
+ minor fixes
2013-09-30 17:04:25 +02:00
Rob Tillaart
db6d3c636c + refactor
+ added timing
+ fixed some bugs
2013-09-30 17:03:06 +02:00
Rob Tillaart
71447b5f3f + initial version 2013-09-30 17:00:55 +02:00
Rob Tillaart
18a82023b9 + added example, test /show working 2013-09-30 16:59:06 +02:00
Rob Tillaart
151438bfc2 + Arduino 1.0 comaptible 2013-09-30 16:43:17 +02:00
Rob Tillaart
aab07947c8 + fixed 64 bit boundary bug
+ refactor _readBlock + return value
2013-09-30 16:41:52 +02:00
Rob Tillaart
d406766659 + added setBlock
+ improved comments
+ some bugfixing
2013-09-30 16:40:09 +02:00
Rob Tillaart
e95618a306 + initial version 2013-09-30 16:38:08 +02:00
Rob Tillaart
0e54058f98 + added comment 2013-09-29 21:55:40 +02:00
Rob Tillaart
f94989f97f + updated to version 0.1.03
+ testing
+ removed bug in find() + cascades
+ example test sketches added for PMF(), VAL(), CDF().
2013-09-29 21:55:02 +02:00
Rob Tillaart
a9e0b6775b + replace float with double
+ improved comments
2013-09-29 19:32:20 +02:00
Rob Tillaart
be3ad90e3f + intial version 0.1.0 + 0.1.1
+ added PMF()
+ added CDF()
2013-09-29 19:28:34 +02:00
Rob Tillaart
3da0272a1a + created initial version of fastShiftIn class
+ example class
2013-09-29 19:10:03 +02:00
Rob Tillaart
26bd2bb2e6 + created test application 2013-09-29 16:10:56 +02:00
Rob Tillaart
0b26865bfc + created analogPin Class to wrap analogRead 2013-09-29 14:33:29 +02:00
Rob Tillaart
c498c25956 + layout
+ derive Complex from printable
+ renamed test to .ino
2013-09-29 14:31:13 +02:00
Rob Tillaart
0adbfacf13 + make parts of the lib conditional
+ added test sketch
2013-09-29 14:27:38 +02:00
Rob Tillaart
d917a93d0b - missing 0.1.02 version
+ added sqr()
+ minimized divisions (speed)
+ faster tan() -> increases size
2013-09-29 14:22:21 +02:00
Rob Tillaart
8c27e7b196 + extend class 2013-09-29 14:16:03 +02:00
Rob Tillaart
a60fc21e25 start Complex Math library 2013-09-29 14:13:36 +02:00
Rob Tillaart
d0a39773e0 + added original date (no new version number 2013-09-29 12:38:05 +02:00
Rob Tillaart
c7c5bdf661 + finalized support for DHT21
+ made TIMEOUT depends on clock ==> F_CPU
2013-09-29 12:35:28 +02:00
Rob Tillaart
9593136bda + based upon Print interface
+ less variables (more local)
+ some comments
2013-08-29 11:39:24 +02:00
Rob Tillaart
b99f202fac initial version of FastShiftOut 2013-08-28 22:30:00 +02:00
Rob Tillaart
fabe3ba99b Add dht library to git 2013-08-28 13:57:45 +02:00
Rob Tillaart
c2202da1bd test commit 2013-08-17 18:47:21 +02:00
Rob Tillaart
3646603d26 updated todo list 2013-08-17 18:43:39 +02:00
Rob Tillaart
bd2f632b7d minor changes 2013-08-17 18:38:38 +02:00
Rob Tillaart
680ccbc1cc + minor issues 2013-08-17 16:44:07 +02:00
Rob Tillaart
7730415547 Merge branch 'm1' 2013-08-17 16:28:51 +02:00
Rob Tillaart
4976a9d7f6 + version 0.1.03
+ added resolution
2013-08-17 16:24:01 +02:00
Rob Tillaart
160de1e5a6 + version 0.3.2
+ changed count -> unsigned long allows for 2^32 samples
+ added variance
2013-08-17 15:44:20 +02:00
Rob Tillaart
d73aa94100 + STATISTIC_LIB_VERSION
+ minor edits
2013-08-17 15:08:50 +02:00
Rob Tillaart
127f32ebc7 + update to version 0.1.02 2013-08-17 14:54:10 +02:00
Rob Tillaart
f1e9167e03 + update to version 0.2.02
- several versions not in git :(
2013-08-17 14:43:42 +02:00
Rob Tillaart
7191f93920 Running average 2011-10-09 22:24:50 +02:00
Rob Tillaart
b5205149a5 running median 2011-10-09 22:24:29 +02:00
Rob Tillaart
cbd566ed54 stopwatch library 2011-10-09 22:21:55 +02:00
Rob Tillaart
812893721e test 2011-10-09 22:20:32 +02:00
Rob Tillaart
64c247fee4 testing 2011-10-09 22:19:32 +02:00
Rob Tillaart
eb297bc993 added some more libs 2011-10-09 22:16:48 +02:00
Rob Tillaart
3f8c02d1d6 stat 2011-10-09 22:06:19 +02:00