Commit Graph

343 Commits

Author SHA1 Message Date
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
Rob Tillaart
ee15f66ba3 Merge pull request #25 from codingforfun/dht-delay-without-interrupts
Fix sensor reading for use withhin Realtime OS environments
2015-10-12 20:30:02 +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
1ec00d3418 added CRC check 2015-07-12 19:32:53 +02:00
rob tillaart
6e758b3054 added constants for pin range 2015-07-12 12:58:30 +02:00
rob tillaart
c629905b1a + 0.1.02 initial version on github 2015-07-05 12:14:16 +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
Rob Tillaart
2a3ea88b94 Merge pull request #20 from ifreislich/master
_pageBlock loop never terminates due to incorrect variable in while()
2015-05-20 19:58:50 +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
503c409485 Merge branch 'master' of github.com:RobTillaart/Arduino 2015-03-09 20:09:28 +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
dc473799c8 + version 0.1.04
+ float replaced by double to support ARM
2015-03-09 19:33:53 +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
9d4c6075ad Merge branch 'master' of github.com:RobTillaart/Arduino 2015-03-08 00:19:58 +01:00
rob tillaart
87bf6e2cea merge solved 2015-03-08 00:19:11 +01:00
rob tillaart
5460233c0f merge solved 2015-03-08 00:16:02 +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