I have got the websocket up and running.
http://sockets.mbed.org/GMawston/viewer
However I have also 'hacked' together the temperature sensor however it appears that the message is still being sent yet I am struggling to get the temperature to be shown.
I think this might also be related to my other post on the DS18B20 so I might be duplicating things here. However I think, correct me on this, that I should be amending the line from this:
ws.send ("This is the temperature in the living room");
to this:
ws.send ("This is the temperature in the living room", displayTemperature(pc));
Obviously this is refusing to compile stating too many arguments in function call and incomplete type not allowed.
Any help or guidance on this would be much appreciated.
Gavin
I have got the websocket up and running.
http://sockets.mbed.org/GMawston/viewer
However I have also 'hacked' together the temperature sensor however it appears that the message is still being sent yet I am struggling to get the temperature to be shown.
I think this might also be related to my other post on the DS18B20 so I might be duplicating things here. However I think, correct me on this, that I should be amending the line from this:
ws.send ("This is the temperature in the living room");
to this:
ws.send ("This is the temperature in the living room", displayTemperature(pc));
Obviously this is refusing to compile stating too many arguments in function call and incomplete type not allowed.
Any help or guidance on this would be much appreciated.
Gavin