Sketch uses 5910 bytes (98%) of program storage space. Maximum is 6012 bytes.
Global variables use 181 bytes of dynamic memory.
Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)
By the way, I am running the Attiny85 slave on pin 0 (contrary to the suggested pin 2, because I needed all the A0-A3):
and it worked well, 4x DS18B20 are received on the master which is a NANO running orgua's OneWire.h (but I still can't get the DS2450 to work without a CRC error, neither on the NANO as slave nor the Attiny85 as slave, and I am not sure if it's due to the CRC calculation itself or a bus timing issue - logic analyser should arrive soon :champagne: ).
In summary, I fixed my compiling issues by adding the above mentioned flag.
Oh, and OneWireHub is an awesome library!
thanks for the detailed log!
it is odd that this crc is failing, i have tested these examples with a lot of combinations. did your logic analyser help?
Compiling can fail with all sorts of errors, due to a missing -std=gnu++11 flag in:
I got it working modifying compiler.cpp.flags= by adding the missing flag at the end of the list, like so:
compiler.cpp.flags=-c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -std=gnu++11
After this, everything is fine !
By the way, I am running the Attiny85 slave on pin 0 (contrary to the suggested pin 2, because I needed all the A0-A3):
and it worked well, 4x DS18B20 are received on the master which is a NANO running orgua's OneWire.h (but I still can't get the DS2450 to work without a CRC error, neither on the NANO as slave nor the Attiny85 as slave, and I am not sure if it's due to the CRC calculation itself or a bus timing issue - logic analyser should arrive soon :champagne: ).
In summary, I fixed my compiling issues by adding the above mentioned flag. Oh, and OneWireHub is an awesome library!