Commit Graph

224 Commits

Author SHA1 Message Date
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