Commit Graph

518 Commits

Author SHA1 Message Date
RobTillaart
c4df580c9f fix issue #33 - double to float 2017-07-26 22:38:56 +02:00
RobTillaart
cecb3906ed fix issue #33 - revert double to float; +some refactor 2017-07-26 22:21:25 +02:00
RobTillaart
73f892523e fix issue #33; refactor; function names to camelCase; marked TODO's 2017-07-26 21:44:04 +02:00
RobTillaart
5012cec033 added readme.md file (no code change) 2017-07-26 17:43:44 +02:00
RobTillaart
bc8c6b476d Version 0.1.0 initial version of DS18B20 library 2017-07-25 22:57:37 +02:00
RobTillaart
bf3dd1dc60 + Initial version of DS28CM00 library 2017-07-24 14:02:11 +02:00
RobTillaart
93fda7589e minor uypdate - version numbers 2017-07-16 21:19:50 +02:00
RobTillaart
46fa36b1ae 0.1.4 refactoring 2017-07-16 21:03:28 +02:00
RobTillaart
40812a0d93 + 0.1.11 fix count() + added isFull() 2017-07-16 20:09:23 +02:00
RobTillaart
28d5d815a0 + 0.1.10 performance refactor + isEmpty() 2017-07-16 17:33:43 +02:00
RobTillaart
7718751266 + 0.0.7 refactor 2017-07-16 16:01:09 +02:00
RobTillaart
970855f242 + version 0.1.8 added toggle 2017-07-16 13:39:43 +02:00
RobTillaart
09a7c469a8 + add days to start(days, hours, minutes, seconds)
+ cont() ==> continue countdown
+ update + add examples
2017-07-16 11:46:43 +02:00
RobTillaart
d2b8f21e92 range fix in test script 2017-07-16 09:02:48 +02:00
RobTillaart
a8d8665597 fix comments 2017-07-16 08:56:12 +02:00
RobTillaart
551d8db1d0 - 0.1.5 support > 256 buckets; robustness; check allocated data 2017-07-16 08:53:48 +02:00
RobTillaart
0a93ce6c27 - 0.1.5 support > 256 buckets; robustness; check allocated data 2017-07-16 08:04:20 +02:00
RobTillaart
745cf64697 - version 0.1.7 - refactor constructor, get examples working 2017-07-15 18:28:01 +02:00
RobTillaart
4eb699209f + prevent overflow; refactor memory usage; 2017-07-15 17:58:10 +02:00
Rob Tillaart
3e7660a534 Merge pull request #71 from per1234/correct-architecture-value
Use correct architecture value in library.properties
2017-07-13 21:01:51 +02:00
per1234
3b7fe2bb1b Use semver compliant versions in library.properties
The leading zero is non-semver compliant and causes the Arduino IDE to display the warning:

Invalid version found: ...

Fixes https://github.com/RobTillaart/Arduino/issues/70
2017-07-13 11:46:18 -07:00
per1234
afde043062 [DHTliib] Use correct architecture value in library.properties
Incorrect architecture value causes the warning:

WARNING: library DHTlib claims to run on [atmelavr] architecture(s) and may be incompatible with your current board which runs on [avr] architecture(s).
2017-07-13 11:27:01 -07:00
per1234
6c4d6300fb [AVRHeap] Use correct architecture value in library.properties
Incorrect architecture value causes the warning:

WARNING: library AVRHeap claims to run on [atmelavr] architecture(s) and may be incompatible with your current board which runs on [avr] architecture(s).
2017-07-13 11:26:34 -07:00
Mervill
dd5ee93e2d updates status output in dht22_test 2017-05-08 20:09:22 -07:00
Ivan Kravets
e1b1c1983c Update Atmel AVR platform ID 2017-05-02 20:22:11 +03:00
RobTillaart
6290c7a348 + BoolArray 0.1.3 added toggle 2017-04-28 10:34:30 +02:00
RobTillaart
e695543ca6 + FastShiftIn version 0.1.3
+ optimized masking
2017-04-27 00:43:41 +02:00
RobTillaart
2f5952ec05 + FastShiftOut version 0.1.5
+ optimized masking in inner loop
2017-04-27 00:10:51 +02:00
RobTillaart
7f8134f8f6 + PCF8574 updated notes 2017-04-20 10:55:00 +02:00
RobTillaart
add7ed3b15 + max44009 0.1.5 updated history 2017-04-20 10:21:49 +02:00
Rob Tillaart
59ac42546b Merge pull request #62 from debsahu/patch-1
Update Max44009.h
2017-04-20 09:54:25 +02:00
RobTillaart
185ceeb066 + MCP4725 0.1.7 refactor 2017-04-20 09:20:26 +02:00
RobTillaart
ba067ff91d + I2C_EEPROM 1.2.5 refactor 2017-04-20 09:15:28 +02:00
RobTillaart
ab1d7d8617 + I2C_eeprom 1.2.4
+ remove timeout - github issue #63
2017-04-19 12:45:38 +02:00
RobTillaart
d862556833 + 0.1.6
+ remove timeout - issue #63
+ small refactor
2017-04-19 12:31:31 +02:00
debsahu
ba7c2442f6 Update Max44009.h
void setAutomaticMode(); is defined in Max44009.cpp but not in header file.
2017-04-15 13:50:03 -04:00
RobTillaart
02cc2c5420 fix issue with delayMicroseconds > 16000 2017-03-06 21:10:50 +01:00
RobTillaart
4a301a8804 fixed warning readButton8() 2017-02-27 10:13:59 +01:00
RobTillaart
cbbb53dada update version to 0.1.2 2017-02-04 16:58:28 +01:00
Mirek Simek
fe228e7b51 typo 2017-02-04 09:37:40 +01:00
aldras
76139cbbfa Update I2C_eeprom_test.ino
I2C_EEPROM - Modified example sketch for hex display of memory dumps, explicitly defined 24LC64 memory size
2017-01-24 16:21:48 +09:00
Ivan Kravets
bf887ddd3a Fix broken manifest 2017-01-14 01:06:09 +02:00
RobTillaart
4a4b6cf7f2 updated platforms in json description 2017-01-03 17:41:49 +01:00
Ivan Kravets
f62b07b8d2 Specify compatible development platform 2017-01-02 23:47:57 +02:00
RobTillaart
d6bd9a1f48 update example -> examples 2016-12-18 11:39:20 +01:00
RobTillaart
f69a50d82f Set 0.1.09 - added const where possible 2016-12-18 11:19:56 +01:00
RobTillaart
82a6117e48 fixed version number 2016-12-18 11:03:21 +01:00
RobTillaart
f78e535955 Added version number 2016-12-18 11:02:55 +01:00
RobTillaart
8a94bc3acc initial versions of library.properties 2016-12-18 11:02:20 +01:00
RobTillaart
018a4872a6 update library.json files 2016-12-18 10:48:17 +01:00
RobTillaart
6760bfdde6 fix library.json 2016-12-17 21:56:14 +01:00
RobTillaart
619b84df62 fixed DHT2pin lib 2016-12-17 21:10:09 +01:00
RobTillaart
c97f801ba4 clean up 2016-12-17 21:08:49 +01:00
RobTillaart
28d87d66ef fix library.json 2016-12-17 21:07:11 +01:00
RobTillaart
e954b83020 minor edit 2016-12-17 21:04:25 +01:00
RobTillaart
f5114ca837 Library for a (4bit) Nibble Array 2016-12-17 20:59:03 +01:00
RobTillaart
1d4d705d36 Library for the Max44009 2016-12-17 20:58:29 +01:00
RobTillaart
54e5ee1c05 Experimental Function Generator class 2016-12-17 20:57:37 +01:00
RobTillaart
45d8bff06a added library.json files 2016-12-17 20:53:18 +01:00
Ivan Kravets
525476e0e5 @PlatformIO Library Registry manifest file 2016-12-16 12:33:43 +02:00
Rob Tillaart
0be0a563ef Merge pull request #48 from V0v1kkk/master
Added functions for calculating standard deviation and standard error, function for check fullness of buffer.
2016-12-02 19:08:00 +01:00
V0v1kkk
2cf71d91db Added functions for calculating standard deviation and standard error of running average. They may be useful for statistical evaluation of running average.
Also added function for check fullness of buffer.
2016-12-02 00:06:08 +05:00
rob tillaart
7340c4eccf 0.0.2 support conditional F_CPU, first test run, renamed to DHT2pin, 2016-09-17 10:30:20 +02:00
rob tillaart
23ca5ec40c Initial version of 2 pins DHT lib (uses additional HW see readme.txt) 2016-09-05 19:46:08 +02:00
rob tillaart
a2bf47908d + 0.1.08 merged work of Septillion
+ added default values
+ update version number

Signed-off-by: rob tillaart <rob.tillaart@gmail.com>
2016-05-21 11:12:01 +02:00
sseptillion
31513f4cf7 Added buttonRead() examples, added begin() to other examples and updated the note 2016-05-20 14:33:42 +02:00
sseptillion
dfcaaf07dc added masking to buttonRead8() and moves wire.begin() to begin() 2016-05-20 13:47:20 +02:00
sseptillion
2bfd32464b Fixed default of _dataOut 2016-05-20 12:06:10 +02:00
sseptillion
230adfb028 Manual merg upstream RobTillaart 2016-05-20 11:52:57 +02:00
sseptillion
368c032857 Fixed numering to 0.1.07 2016-04-28 22:09:53 +02:00
sseptillion
b4ae62b533 Fixed (0.1.05) write could corrupt input
Because a write() used a read8() first, did the clear/set, then send it
back, you had an error if you did a write() on a pin while another input
was just pulled low externally

added readButton() and readButton8() which set the pin(s) high, read,
and then restore to last written state.

Also added begin() te get it in a known state
2016-04-28 22:07:01 +02:00
rob tillaart
d95660eecf + 0.1.06
+ added functions to manipulate layout more low level
+ added XMLWriterDemo01 to show these functions
+ added sample output (as comparison)
+ fixed small error
+ removed XMLWRITER_EXTENDED #ifdef
2016-04-27 14:14:37 +02:00
rob tillaart
85bc0eb4fa initial version 2016-04-24 19:25:36 +02:00
rob tillaart
c57a9fefee fix initialization (autoincrement) 2016-04-24 19:21:50 +02:00
rob tillaart
d5306a3464 fix wrong date 2016-04-24 09:20:33 +02:00
rob tillaart
5bde8340b4 refactored test code 2016-04-24 08:40:38 +02:00
rob tillaart
f54a04408a + version 0.1.00 BETA
+ not tested yet
2016-04-24 08:26:22 +02:00
rob tillaart
4d9a7d6146 + version 0.1.03
+ bug in ERROR define fixed
+ added readBackRegister(); for debugging purposes
+ demo sketch for readBackRegister()
2016-04-10 20:23:28 +02:00
rob tillaart
92ed9911f0 + 0.1.08 Set Class
+ used memset for clr() => slightly faster.
+ added some comments
+ added reference output for this version
2016-01-03 19:11:17 +01:00
rob tillaart
c6ebbde0ed 0.1.02 - added errorhandling + performance demo sketch 2015-12-22 10:16:44 +01:00
rob tillaart
469281d9d3 0.1.04 - new interface incl PrintTo - Thanks to Whandall 2015-12-10 20:19:02 +01:00
rob tillaart
dae8e63956 0.1.03 - refactoring, some work on followheap 2015-12-10 18:43:57 +01:00
rob tillaart
770ebc9b5c 0.1.02 - added followHeap()
+ created correct examples folder
2015-12-10 18:35:47 +01:00
rob tillaart
3ffa1276f8 0.1.01 - refactor, added startAddress 2015-12-10 18:30:14 +01:00
rob tillaart
91dc550cc7 0.1.00 - initial version 2015-12-10 18:26:56 +01:00
rob tillaart
8e5236540e + private calls inline -> performance & footprint
+ optimized clear()
+ removed todo
2015-12-09 22:51:16 +01:00
rob tillaart
26955bfe38 0.1.06 - size check + refactor 2015-12-09 21:59:28 +01:00
rob tillaart
8ff93f5c5a 0.1.05 - added board dependant max # segments (thanks bricoleau) 2015-12-07 21:05:45 +01:00
rob tillaart
279b0bd9b2 0.1.01 fixes and error handling 2015-12-07 19:57:27 +01:00
rob tillaart
afb93cc7ce + 0.1.00 initial version 2015-12-07 19:56:21 +01:00
rob tillaart
c689de2520 0.1.04 improve performance + perf demo + refactor 2015-12-06 20:50:00 +01:00
rob tillaart
fcf6bd9cd1 0.1.08 2015-12-06 replaced all temperature calls with one TCfactor
+ update demos + new demo for TCfactor
2015-12-06 16:48:50 +01:00
rob tillaart
39945003d6 0.1.07 2015-12-06 updated TC factors from the MAX31855 datasheet 2015-12-06 16:43:25 +01:00
rob tillaart
1ae8c5f712 0.1.06 2015-12-05 added support for other types of TC's (experimental) 2015-12-06 16:42:33 +01:00
rob tillaart
7993100516 0.1.05 2015-07-12 refactor robust constructor 2015-12-06 16:40:51 +01:00
rob tillaart
1f3495a4b2 added notes.txt (pcf8574) 2015-11-29 11:50:23 +01:00
rob tillaart
c35b7dd8d7 Class BitArray first version (beta) 2015-11-22 19:16:39 +01:00
Harry93x
fad0391f62 Add timing analysis, format output, limit execution cycles
To increase the usefulness of the example, I added the measurement of
the complete cycle, which is the important figure. The reading time
itself, though interesting, is not the limiting factor according to the
datasheet.
Additionally, I updated the printing instructions to create a nicely
formatted output and limited the number cycles necessary to reach "del
== 0".
2015-11-14 21:50:01 +01:00
rob tillaart
34ff8cfd02 + fix getELementh(n)
+ header for example sketch
+ add bigger test sketch
2015-10-30 17:32:59 +01:00
rob tillaart
e4ee6b2532 fix merge 2015-10-30 16:52:26 +01:00
rob tillaart
6a5296d3f1 + refactor constructor + const where possible 2015-10-30 16:46:22 +01:00
rob tillaart
87be2b064a + refactor constructor + const where possible 2015-10-30 16:12:24 +01:00
rob tillaart
8eb506f62e + initial version CountDown library
+ need more testing esp setResolution()
+ two demo sketches show some uses
2015-10-29 14:28:29 +01:00
rob tillaart
563d99193d + fix for negative values bug - beta version to be verified
+ separate field neg to indicate sign
+ rewrote several fuctions (partly)
+ made sign() public
+ extended tests to test negative values more explicit
2015-10-19 20:15:06 +02:00
rob tillaart
e6ddd651eb + serious bug for negative values found
+ warning.txt
2015-10-18 13:30:28 +02:00
rob tillaart
7a698f8c17 + added (0,0) constructor
+ added array example
+ removed unneeded ifdef constructs
2015-10-18 12:22:28 +02:00
rob tillaart
62e3379758 added note for multitheading use 2015-10-12 20:58:41 +02:00
rob tillaart
e475755fe0 fix delayMicroseconds 2015-10-12 20:48:53 +02:00
rob tillaart
a48ea1ea29 + version 0.1.21
+ replaced delay by delayMicroseconds()
+ removed dependency on F_CPU
+ added constructor
+ refactor
2015-10-12 20:43:24 +02:00
Peter Hahn
174a065598 Replace delay with delayMicroseconds to let it work while interruppts are disabeled.
In multihreaded environment (I used NilRTOS) its usefull to disable interruppts while reading the sensors. However delay() requires interrupts to be enabled. If you read more than one sensor in a sequence the 2nd one gets spurious DHTLIB_ERROR_CONNECT errors. Timing issues with the wakeup delay().
They don't used to happen it interrupts are enabled. Replacing delay() with delayMicroseconds() solved this issue.
2015-10-11 22:56:25 +02:00
rob tillaart
bd5f923158 + fixed clockbit 2015-09-26 13:57:14 +02:00
rob tillaart
daf25c5e65 + version 0.2.11
+ getAverage() renamed to getFastAverage() as it is fast but less accurate
+ reimplemented getAverage() to be accurate
+ added GetMinInBuffer() to make difference with getMin()
+ added GetMaxInBuffer() - idem
+ refactor
+ added 2 example sketches to show the new functions
2015-09-05 12:14:02 +02:00
rob tillaart
375306f4f6 + version 0.1.05
+ constructor Angle(char* str)
+ thousands -> tenthousands
+ removed TODO's
+ separator array in printTo()
+ fix bug in toDouble - neg values
+ added fromRadians()
+ updated examples
2015-08-23 18:20:08 +02:00
Rob Tillaart
295496ccbb Merge pull request #24 from Chris--A/format-proxy
Format proxy for custom printing.
2015-08-23 17:22:14 +02:00
rob tillaart
7827cc186e + add samples to DHTstable 2015-08-20 23:02:36 +02:00
Chris--A
18d493e14e Angle library version bump (0.1.03)! 2015-08-04 01:34:24 +10:00
Chris--A
c205a7f5c5 Added example format_angle to Angle library. 2015-08-03 22:02:15 +10:00
Chris--A
9a731891bc Add formatting proxy class.
This allows printing of customized angles using a function
angle.format().
2015-08-03 21:53:06 +10:00
rob tillaart
8c0fe83507 + 0.1.02
+ add toRadians
+ add subHelper properly
+ refactor *= and /= operator code
+ fix compare
+ fix degree sign
2015-08-02 13:38:56 +02:00
rob tillaart
b2660977da + 0.1.01
+ refactoring and fixing
2015-08-01 20:44:45 +02:00
rob tillaart
c560577b80 + 0.1.00 initial version Angle class 2015-08-01 20:36:28 +02:00
rob tillaart
a15cca3af7 Version 0.1.13
latest stable for AVR & ARM
2015-07-04 18:53:13 +02:00
rob tillaart
6ef02ae9a9 + distanceTable initial version
+ refactor
+ testsketch
2015-06-19 21:06:14 +02:00
rob tillaart
8d3bf7b6e0 + updated KMLWriterTest sketch 2015-05-23 19:45:59 +02:00
rob tillaart
acb65aea4d + 0.1.05
+ added XMLWRITER_MAXTAGSIZE 15
2015-05-23 19:26:38 +02:00
rob tillaart
3c3cd5259e + 0.1.04
+ moved fixed strings to ProgMem F() to reduce RAM usage
+ added KML example
2015-05-23 10:24:59 +02:00
rob tillaart
03f2e523a2 updated version numbers after fix 2015-05-20 20:04:35 +02:00
Ian Freislich
002a1ca3c3 _pageBlock loop never terminates due to incorrect variable in while()
Assignment is always false in I2C_eeprom_test.ino.  It should be a comparisson
2015-05-20 09:29:00 -04:00
rob tillaart
1c1de9bfeb + version 0.1.04 (0.1.03 = intermediate)
+ removed beginTransmission from read8() -> speed++
+ removed endTransmission from read8() -> speed
+ changed address to uint8_t
2015-05-09 17:07:09 +02:00
rob tillaart
b527f06da5 + version 0.2.08
+ refactored getMin() and getMax()
+ fixed typos
+ added demo sketch getMin getMax
2015-04-10 21:23:24 +02:00
Rob Tillaart
33664e108b Merge pull request #18 from muldereric/master
Added min/max functions
2015-04-10 20:20:42 +02:00
Eric Mulder
ab1ecfe2e7 Improved robustness of min/max functions
Compare option could lead to comparing NAN with NAN. Though the outcome
is as expected, preventing the possibility is better.
2015-04-10 00:16:59 +02:00
rob tillaart
3dbd52fd43 + version 0.1.11
+ undo fix clear.
2015-03-29 18:35:38 +02:00
Eric Mulder
ad44ae9e88 Added min/max functions
Added getMin() and getMax() for a user of the library to easily keep
track of the lowest and highest value that were inserted in the
data-set.
2015-03-16 21:47:59 +01:00
rob tillaart
6c78febf11 + version 0.1.04
+ float replaced by double to support ARM
+ updated examples too
2015-03-09 20:08:11 +01:00
rob tillaart
b3c0f3e85f + version 0.1.06
+ replaced float with double to support ARM (DUE) too
2015-03-08 22:17:20 +01:00
rob tillaart
740d030b1b fix merge 2015-03-08 00:20:53 +01:00
rob tillaart
87bf6e2cea merge solved 2015-03-08 00:19:11 +01:00
rob tillaart
8413c62139 + version 0.1.03
+ refactored for smaller footprint
+ added support for more datatypes
+ extended example eketch
2015-03-08 00:11:56 +01:00
rob tillaart
35b6713f81 + version 0.1.03
+ refactored for smaller footprint
+ added support for more datatypes
+ extended example eketch
2015-03-08 00:04:31 +01:00
rob tillaart
093fbf040e + version 0.1.00 (initial) 2015-03-07 22:44:21 +01:00
rob tillaart
07534d77f7 + version 0.3.3
+ changed float -> double to support ARM series
+ moved some code to .h file so compiler can optimize more
+ reindented
2015-03-07 20:32:51 +01:00
rob tillaart
d9affe6108 + version 0.1.07
+ substantial faster first/next/last/prev; interface
+ small changes in allTest.ino
+ added output files for version 0.1.06 and 0.1.07 (AVR 16MHZ)
2015-03-07 18:46:16 +01:00
rob tillaart
4c254807bf + version 0.1.10
+ float -> double (for ARM proc)
+ fix in clear()
2015-03-07 15:53:38 +01:00
rob tillaart
48f5496fd9 + version 0.2.06
+ all size vars not 8 bit
+ minor refactor
+ added sample counter to ra_test.ino (easier to compare output)
2015-03-07 13:47:56 +01:00
rob tillaart
394c4fda50 + version 0.1.01
+ added test sketch
+ checked the math
+ still experimental
2015-03-06 23:34:37 +01:00
rob tillaart
2fd1d57834 + version 0.1.05
+ small refactor
2015-03-06 20:25:48 +01:00
rob tillaart
1f13512d0b + version 0.1.05
+ stricter interface (const)
2015-03-06 20:19:01 +01:00
rob tillaart
9f891dc3a9 + version 1.2.02
+ corrected version number
+ corrected history in .cpp
+ stricter interface where possible
2015-03-06 17:29:14 +01:00
rob tillaart
a4312c1b98 + version 0.1.04
+ stricter interface
2015-03-06 15:59:49 +01:00
rob tillaart
18febddfea + version 0.1.04
+ stricter interface
+ better performance compare in example code
2015-03-06 15:37:48 +01:00
rob tillaart
53ea9611db + version 0.1.01
+ stricter interface
+ better performance compare in example code
2015-03-06 15:09:11 +01:00
rob tillaart
cc73f24876 + version 0.1.02
+ stricter interface
2015-03-06 14:40:36 +01:00
rob tillaart
677aaeb463 + version 0.1.04
+ smaller footprint
2015-03-06 14:26:17 +01:00
rob tillaart
411126e5a9 + version 0.1.08
+ refactor
2015-03-06 14:02:38 +01:00
rob tillaart
35b19c9fe7 + version 0.1.07 (attachment)
+ refactored to decrease footprint
+ added example folder
+ added referenceOutput.txt to the example sketches
2015-03-06 10:41:34 +01:00
rob tillaart
bb3198d47d + updated version to 0.1.07 2015-03-05 18:26:06 +01:00
Chris--A
e0c33bf44d Revert gcd, too hasty in testing. 2015-03-05 18:29:58 +10:00
Chris--A
5379f830b1 Optimized functions
Changed by-value elements to by-reference.
Also changed private section to protected; in case someone wants to
inherit the Fraction class.
2015-03-05 18:06:21 +10:00
Chris--A
19daf61fee Optimized constructors
Utilized initializer lists rather than assigning.
2015-03-05 17:46:55 +10:00
Chris--A
675ddb0f84 Fix operator logic. 2015-03-05 17:42:23 +10:00
rob tillaart
35310f0596 + added readme.txt 2015-03-01 14:19:14 +01:00
rob tillaart
c0bb74c9f7 + version 0.1.06
+ added isProper(), mediant(), toAngle();
+ refactor
+ added two example sketches
2015-03-01 12:47:02 +01:00
rob tillaart
507f1edd61 + version 0.1.05
+ tested negative Fractions math
+ added missing constructors,
+ refactoring,
2015-03-01 12:15:35 +01:00
rob tillaart
e89f3cebf8 + version 0.1.04
+ stabilizing code,
+ add simplifies() for some code paths
2015-03-01 12:13:08 +01:00
rob tillaart
aa0826886b + version 0.1.03
+ added toDouble(), tested several fractionize() codes, bug fixes.
2015-03-01 12:11:21 +01:00
rob tillaart
1591b01fa6 + version 0.1.02
+ refactor & fixing
+ faster fractionize code
+ test application (march 1st 2015 version)
2015-03-01 12:09:21 +01:00
rob tillaart
f77345fd40 + version 0.1.01
+ refactoring & fixing
2015-03-01 12:05:22 +01:00
rob tillaart
a5469cdd24 + initial version 0.1.00 2015-03-01 12:03:22 +01:00
rob tillaart
33843c68ba + version 0.1.20
+ changed return type to int8_t reducing footprint with 34 bytes
+ minor comment change
2015-03-01 11:53:47 +01:00
rob tillaart
9bca4c27da + fix switch case (copy paste error) 2015-02-03 10:14:17 +01:00
rob tillaart
54ee843935 + version 0.1.19
+ fixed wrong mask DHT11
2015-01-21 21:46:04 +01:00
rob tillaart
b89c9decb0 + version 0.2.05
+ changed float to double (for ARM platform)
2014-12-16 22:04:21 +01:00
rob tillaart
baa7e04c05 + 0.1.02
+ readPrevious()
+ changed signatures
+ added comments
+ fix typo in sample
2014-12-07 21:11:55 +01:00
Rob Tillaart
99c0d7eb0f fixed COZIR_LIB_VERSION string 2014-12-07 11:39:59 +01:00
rob tillaart
d5fbe0e058 + version 0.1.05
+ fixed request() in .h file
2014-12-07 11:29:14 +01:00
rob tillaart
baa1e15833 + 0.1.18 fixed support for DHT11 again 2014-11-25 19:40:25 +01:00
rob tillaart
94a48c2283 + 0.1.00 (fix foldername) 2014-11-18 20:12:04 +01:00
rob tillaart
cc45d4c7c8 + 0.1.00 template version of MultiMap 2014-11-18 19:32:33 +01:00
rob tillaart
3f8427b0b2 + 0.1.06 version (Case problem fixed) 2014-11-18 19:28:12 +01:00
rob tillaart
e71327b2ff + fix for set -> Set 2014-11-18 19:27:12 +01:00
rob tillaart
3946fd88a9 + 0.1.06 set -> Set (follow Arduino style)
+ added flag to constructor to optimize +,-,*,
2014-11-18 19:23:50 +01:00
rob tillaart
ff2d38c69b + 0.1.05 bug fixing - operator
+ performance count()
+ performance subset()
+ comments
+ removed isEmpty() - too simple
+ removed demo
+ added alltest example
2014-11-16 21:58:34 +01:00
rob tillaart
f180f8100a + 0.1.04 support for + - *,
+ clean up code
+ first stable version.
2014-11-16 19:10:49 +01:00
rob tillaart
90e6127c27 + 0.1.03 changed &= to *= (turbo pascal convention)
+ some optimizations
2014-11-16 18:55:11 +01:00
rob tillaart
cb647b7e27 + 0.1.02 updated comments (archive only) 2014-11-16 18:52:58 +01:00
rob tillaart
7060dc7f00 + 0.1.01 refactor (archive only) 2014-11-16 18:51:03 +01:00
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