Commit Graph

459 Commits

Author SHA1 Message Date
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
f6112483d7 Merge branch 'master' of github.com:RobTillaart/Arduino 2014-02-09 19:38:42 +01:00
rob tillaart
54c8c468ef + initial version of readme
+ fix versionnr
2014-02-09 19:35:40 +01:00
rob tillaart
825102f696 + initial version of readme 2014-02-08 13:54: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