Commit Graph

20 Commits

Author SHA1 Message Date
IanF
1a0eda0d59 Upload files to '' 2018-12-03 20:44:06 +01:00
ntruchsess
5b3c090601 rearange as arduino-lib 2016-03-18 13:05:43 +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
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
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
14711750d6 cleaned up project for public distribution (removed debug and unrelated stuff) 2015-08-09 09:15:32 +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
Youen Toupin
22e5d690a0 refactoring (wip) 2015-04-25 21:40:38 +02:00
Youen Toupin
b6f8497f64 start of code refactoring (OneWireSlave class) 2015-04-25 13:04:10 +02:00