PaulStoffregen / OneWire

Library for Dallas/Maxim 1-Wire Chips
http://www.pjrc.com/teensy/td_libs_OneWire.html
607 stars 391 forks source link

error: #error "Please define I/O register types here" #25

Closed bcraigie closed 7 years ago

bcraigie commented 7 years ago

Using an MKR1000, the library fails to compile

libraries\OneWire/OneWire.h:108:2: error: #error "Please define I/O register types here"

 #error "Please define I/O register types here"

  ^

exit status 1
Error compiling for board Arduino/Genuino MKR1000.

What can I do to get this to compile for the MKR1000 please?

Thanks

bcraigie commented 7 years ago

Ah, I see the problem. On page http://playground.arduino.cc/Learning/OneWire if you click the link latest version of the library it gives an old version.

PaulStoffregen commented 7 years ago

I've updated the link.