Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS1990A example #2

Open
ladikusz opened this issue Apr 23, 2014 · 6 comments
Open

DS1990A example #2

ladikusz opened this issue Apr 23, 2014 · 6 comments

Comments

@ladikusz
Copy link

The DS1990A example cannot be compiled:
"DS1990A:13: error: 'class OneWireSlave' has no member named 'setRom'"

@MarkusLange
Copy link
Owner

Corrected to ds.init(rom); sorry did not changed it in the example

@ladikusz
Copy link
Author

Dear Markus,
I couldn't get to make it work. It compiles and loads to the arduino, but it seems that nothing happens. I have an Ibutton reader which provides 5V TTL high for 1 sec, low for 1 sec. Do I need any additional configuration or pullup resistors to make it work?

@MarkusLange
Copy link
Owner

The Original is from this page http://robocraft.ru/blog/arduino/302.html it only supports the DS1990A can you test if this works?

@ladikusz
Copy link
Author

ladikusz commented May 7, 2014

Sorry for the late reply. I tried with the original, it's have some data type conflict when the ds.setrom(rom) happens, because it wants unsigned char_, but the rom is char_. i just changed the type to unsigned char, but it doesn't work. But let's get clear first, it should work with arduino uno (atmega 328) and arduino ide 1.0.5 without any problems? I don't know where should i start debugging.

@MarkusLange
Copy link
Owner

Yes it should

@eueduardo3
Copy link

esp32 is not compatible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants