destroyedlolo
f0ff69d8d1
Tell when a conversion is ignored
2018-03-27 21:59:32 +02:00
destroyedlolo
08d8346954
Ensure enough delay b/w samples
2018-03-27 01:44:28 +02:00
destroyedlolo
acb3069883
Add online CRC calculator
2018-03-26 22:36:11 +02:00
destroyedlolo
08991060da
Add some comments about race condition
2018-03-24 13:58:27 +01:00
destroyedlolo
28f9205701
Correct OW code in case of DHT reading error
2018-03-24 13:46:19 +01:00
destroyedlolo
ac43646ce5
More library friendly (from ntruchsess fork)
2018-03-24 13:29:10 +01:00
destroyedlolo
6723ee6e52
Use a DHT22 as a DS18B20
2018-03-24 02:19:33 +01:00
destroyedlolo
bf53ea5c77
Suite IDE Arduino specs
2018-03-23 23:01:51 +01:00
destroyedlolo
df89719917
Add a description
2018-03-23 22:07:49 +01:00
destroyedlolo
a74a79f29e
Add a document about interesting URL found on the web
2018-03-23 20:05:08 +01:00
destroyedlolo
add8145f95
Remove a compilation warning
2018-03-23 20:03:03 +01:00
destroyedlolo
47034b0fa5
Make it as a workable library
2018-03-23 19:56:11 +01:00
destroyedlolo
7d6e4b520a
Separate DS18B20 example
2018-03-23 19:54:54 +01:00
destroyedlolo
8dc5d5dd3e
Remove uneeded m$eries
2018-03-23 19:44:03 +01:00
destroyedlolo
9e2a921d55
Move library sources to src directory
2018-03-23 19:42:02 +01:00
Youen Toupin
21dbf75342
improved visual intellisense integration
2017-05-03 21:59:20 +02:00
Youen Toupin
c21e3ea835
- fixed presence pulse timings, according to andrewradke feedback ( https://github.com/neuoy/OneWireArduinoSlave/issues/4 )
...
- visual studio intellisense fix
2017-04-30 22:48:19 +02:00
Youen Toupin
c819cfdf17
Merge remote-tracking branch 'remotes/github_ntruchsess/attiny'
2017-04-30 21:44:23 +02:00
Youen Toupin
a108089f02
fixed probable cause of rare 1-wire bus deadlock where the Arduino would not release the bus and keep pulling it low forever (thanks to fari on http://www.stm32duino.com/viewtopic.php?f=9&t=1852 for posting this fix)
2017-04-25 21:11:19 +02:00
Youen Toupin
3e75b83248
updated sample code with new function names
2016-03-20 10:11:01 +01:00
Youen Toupin
f068849a7d
- breaking change: writeBit has been renamed to beginWriteBit to show it's asynchronous, and a new function writeBit has been introduced, which is synchronous and can't be called from an interrupt handler
...
- fixed possible bugs when a write operation is canceled and a timer interrupt is still registered
2016-03-20 08:58:43 +01:00
Youen Toupin
b71858b9a3
- fixed synchronous write bugs
...
- added possibility to log messages generated by OneWireSlave
2016-03-20 08:58:18 +01:00
Youen Toupin
b92a13a59d
- breaking change: OneWireSlave::write has been renamed to OneWireSlave::beginWrite, to show it's asynchronous. A new function OneWireSlave::write has been introduced, which is synchronous (and can't be called from an interrupt handler)
...
- added code to make sure a client completion callback will always get called, even if it's because of a reset or an error
2016-03-20 08:58:01 +01:00
Youen Toupin
53f873e01d
ignored .opendb files
2016-03-20 08:37:36 +01:00
Youen Toupin
9c5e5a72a6
upgrade to visual studio 2015
2016-03-20 08:36:27 +01:00
Youen
e694ed99d8
Merge pull request #6 from ntruchsess/searchcommands
...
Add conditional-search and resume commands
2016-03-20 08:22:43 +01:00
ntruchsess
ad86c43611
move register-access to LowLevel.h, add support for ATtiny85
2016-03-10 22:03:22 +01:00
ntruchsess
13ff131110
add conditional search command (0xEC)
2016-02-27 11:39:45 +01:00
ntruchsess
a31256f60d
implement resume command (0xA5)
2016-02-26 10:06:59 +01:00
Youen
5621c45c02
Merge pull request #5 from ntruchsess/fixresetdetection
...
fix missing detection of reset during write of zero-bits
2016-02-25 19:03:38 +01:00
ntruchsess
c7457d0d8a
fix missing detection of reset during write of zero-bits
2016-02-23 17:23:54 +01:00
Youen Toupin
887741a806
- added possibility to be notified of individual bits received
...
- fixed bug when sending individual bits or canceling a write operation
- DS18B20 sample now sends zeros during conversion, and ones when conversion is finished
2015-12-14 23:00:27 +01:00
Youen Toupin
c5a141b57e
added code to write individual bits (instead of bytes), and to cancel the current write operation before it completes
2015-12-14 22:32:26 +01:00
Youen Toupin
35b866d933
basic implementation of DS18B20 emulation
2015-12-13 22:03:13 +01:00
Youen Toupin
b97a643227
- breaking change: global instance of OneWireSlave renamed from "OneWire" to "OWSlave" to avoid conflict with the OneWire master library in case someone wants both libraries in the same sketch
...
- upgrade to visual 2015 and arduino IDE 1.6.6
2015-12-13 21:33:43 +01:00
Youen Toupin
216fcf8cb5
- methods that don't write memory now take const parameters
...
- simplified pin number management
2015-08-11 21:18:35 +02:00
Youen Toupin
0790201af9
removed debug code
2015-08-11 20:40:57 +02:00
Youen Toupin
baaf4c474b
Merge branch 'master' of ssh://thor:22/OneWireIO
2015-08-09 09:54:01 +02:00
neuoy
d3ad2ab361
Update README.md
2015-08-09 09:51:23 +02:00
neuoy
d3a465828d
Update LICENSE
2015-08-09 09:20:47 +02:00
neuoy
085759c403
Initial commit
2015-08-09 09:19:19 +02:00
Youen Toupin
14711750d6
cleaned up project for public distribution (removed debug and unrelated stuff)
2015-08-09 09:15:32 +02:00
Youen Toupin
cf5f36b503
improved high-level protocol
2015-08-08 22:36:24 +02:00
Youen Toupin
4d94761fd5
- implemented simple protocol to turn an output on/off
...
- disabled debug code
2015-04-27 23:17:45 +02:00
Youen Toupin
c0a183c769
finished implementation of most important 1-wire functionalities
2015-04-27 21:53:31 +02:00
Youen Toupin
b5fa47249d
ROM commands, read/write bytes (wip)
2015-04-26 22:01:30 +02:00
Youen Toupin
300a6be90f
added background reset check (in case the master sends a reset while another operation had started)
2015-04-26 21:09:30 +02:00
Youen Toupin
2294595995
- fixed bug in Pin::attachInterrupt (this is an arduino bug : interrupts that have been triggered before the handler is attached will cause it to be called immediately ; but only interrupts happening after should call the handler)
...
- changed OneWireSlave interface to make it completely static (there is an instance, but it's only a wrapper to the static stuff, so that the syntax looks nice)
- the search rom algorithm works fine most of the time, but sometimes it fails, probably because of interrupts being blocked at the wrong time (small delay to respond to the master to send a zero)
2015-04-26 20:24:11 +02:00
Youen Toupin
b492dc675c
refactoring wip : search rom (doesn't work yet)
2015-04-26 19:46:52 +02:00
Youen Toupin
dedc44d9d7
refactoring wip : read bytes
2015-04-26 01:08:37 +02:00