SHT21 Soft i2c Libraries

Hi
I am using the libraries in v1 of the IDE and am having problems with them. They worked in the old version.

I get the error message

In file included from sketch_mar26a.cpp:1:
/Applications/Arduino v1.0.app/Contents/Resources/Java/libraries/Ports/Ports.h:239: error: conflicting return type specified for 'virtual void UartPlug::write(byte)'
/Applications/Arduino v1.0.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'

the libraries and program are linked below

I am using the libraries in v1 of the IDE and am having problems with them. They worked in the old version.

Those same, perfectly understandable, error messages have been posted before. Do some research for a change.

the one I saw which would be to change

virtual void write(byte);

to

virtual void write(byte, strlen(byte));

from what I understood did not work which is why i am asking
I then get the error

/Applications/Arduino v1.0.app/Contents/Resources/Java/libraries/Ports/Ports.h:239: error: 'strlen' is not a type

the one I saw which would be to change...from what I understood did not work which is why i am asking

Perhaps you should post a link to whatever you were reading from.

The message:

/Applications/Arduino v1.0.app/Contents/Resources/Java/libraries/Ports/Ports.h:239: error: conflicting return type specified for 'virtual void UartPlug::write(byte)'

is telling you that Ports.h contains a function, write(), in the UartPlug class, that has a return type of void, and that that return type conflicts with the return type of the write() member in the class, Print, that UartPlug derives from.

It is not telling you that the virtual keyword is missing. The return type, void, is wrong. It should be size_t.

so what would I have to change?
My programming knowledge is very limited

so what would I have to change?

The return type, void, is wrong. It should be size_t.

If this is not enough information, you'll need to wait until someone else modifies the library for you.

Thanks got it working