SimpleWeather not returning in Temp

Discussion & updates on SimpleWeather

Moderator: tbitson

SimpleWeather not returning in Temp

Postby kathekas » Wed Mar 09, 2011 5:53 am

Hi

Some sensors instead of returning the temperature give the following message:

simpleWeather.TempSensor@10dd1f7

other sensors work correctly. This is a type S sensor.

Does anyone have any thoughts on what the problem may be.

I wonder if it is returning the memory address, and where to toString() it, but don't understand why this should happen with just one sensor.

TIA
kathekas
 
Posts: 60
Joined: Wed Jul 11, 2007 9:52 am

Re: SimpleWeather not returning in Temp

Postby kathekas » Mon Mar 28, 2011 11:31 pm

Ok, now discovered that this is the HashCode which is the unsigned hexadecimal representation of the objects hashcode.

But still don't undestand why its only doing it with 1 sensor.
kathekas
 
Posts: 60
Joined: Wed Jul 11, 2007 9:52 am


Return to SimpleWeather

Who is online

Users browsing this forum: No registered users and 1 guest

cron