Commit Graph

1385 Commits

Author SHA1 Message Date
rob tillaart
08d3946dec + 0.1.05
+ added rotate left and right
+ toggle mask to toggle multiple bits in one write.
+ refactor (after CPPcheck)
2016-05-01 10:02:01 +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
c6af54caef 0.1.01 fastHaverSine distance function 2015-12-20 16:21:14 +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
Rob Tillaart
9c11ac455a Merge pull request #27 from Harry93x/master
Add timing analysis, format output, limit execution cycles
2015-11-15 11:01:32 +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
04ae116632 Merge branch 'master' of github.com:RobTillaart/Arduino 2015-10-18 12:23:30 +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
514755aaee + added (0,0) constructor
+ added array example
+ removed unneeded ifdef constructs
2015-10-18 12:10:34 +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
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