Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 2 months ago.
So is this library not supported anymore?
The cpp file is empty. Looks like it was wiped out in the latest revision.
Question relating to:
2 Answers
10 years, 2 months ago.
HI,
Looks like he deleted entire implementation. There are more libraries for this sensor. Please have a look at them, like https://developer.mbed.org/users/Sissors/code/DS1820/.
Regards,
0xc0170
The library Martin has mentioned is the one referred to on the component page http://developer.mbed.org/components/DS1820/
posted by 14 Oct 201410 years, 2 months ago.
I didn't delete the code. I've gone the arduino route, so haven't been on this site since I last posted the changes for the DS18S20. I'm sure I have a copy of the source code somewhere on my development system. I'll search and post the code or comment later today.
One revision older does still have code, something went wrong in your last commit.
That said he can also use the other code Martin posted (which might be mine :P), if it has some advantages, it can for example work in parasite power mode without an external mosfet. But for most setups your lib would also work fine obviously.
posted by 14 Oct 2014
Hi, Do you happen to run ds1820 with these libraries? I can not. I have an error when compiling.
Error: Expected a type specifier static char CRC_byte (char CRC, char byte ); in "DS1820/DS1820.h", Line: 111, Col: 32 Error: Function returning function is not allowed in "DS1820/DS1820.h", Line: 111, Col: 32
posted by Freeman Oldman 29 Oct 2014