Problem with OneWire library
hello,
i picked due , i'm finding onewire library giving me compile errors.
just trying run example "ds18x20_temperature" in theonewire\examples\ds18x20_temperature folder give me bunch of errors. since commonly used library wondering, has been able working on arduino due?
here error coming when compiling:
the onewire library i'm using link:
http://www.pjrc.com/teensy/td_libs_onewire.html
thanks replies or can provide.
i picked due , i'm finding onewire library giving me compile errors.
just trying run example "ds18x20_temperature" in theonewire\examples\ds18x20_temperature folder give me bunch of errors. since commonly used library wondering, has been able working on arduino due?
here error coming when compiling:
code: [select]
in file included ds18x20_temperature.pde:1:
c:\users\kcore\documents\arduino\libraries\onewire/onewire.h:77: error: #error "please define i/o register types here"
c:\users\kcore\documents\arduino\libraries\onewire/onewire.h:84: error: 'io_reg_type' not name type
c:\users\kcore\documents\arduino\libraries\onewire/onewire.h:85: error: iso c++ forbids declaration of 'io_reg_type' no type
c:\users\kcore\documents\arduino\libraries\onewire/onewire.h:85: error: expected ';' before '*' token
the onewire library i'm using link:
http://www.pjrc.com/teensy/td_libs_onewire.html
thanks replies or can provide.
i'd working can talk 1-wire eeprom.
i tried teensy library , mucked around changes, didn't have luck. think library pretty important.
i tried modifications code posted here:
http://forum.pjrc.com/threads/252-onewire-library-for-teensy-3-(ds18b20)
but still ran compiler errors after well, where: "digital_pin_to_info_pgm[(pin)] not delared in scope"
is there in core needs modified?
i tried teensy library , mucked around changes, didn't have luck. think library pretty important.
i tried modifications code posted here:
http://forum.pjrc.com/threads/252-onewire-library-for-teensy-3-(ds18b20)
but still ran compiler errors after well, where: "digital_pin_to_info_pgm[(pin)] not delared in scope"
is there in core needs modified?
Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > Problem with OneWire library
arduino
Comments
Post a Comment