Hi
VirtualWire is excellent and I have got the example transmit tx / Receive rx circuit working well, but I have tried to adapt the code to transmit a temperature reading from a Dallas 18B20. If I comment out the dallas code the Virtual wire works fine (Transmitting OK to the receiver), and if I comment out the VirtualWire the Dallas code works fine (reading Temperatures), but together I get wrong readings from the Dallas (E.g. 58C or -212C etc), which is connected to Pin 6.
it seems to be this line corrupting the temperature readings:
vw_send((uint8_t *)msg, strlen(msg));
Am I missing something?
Any ideas?
Thanks
|
|||||||||||||||||||||||||||||||||||||||||||||||||

