Posts with «float» label

Problems when sending float (temperatur) with VirtualWire Arduino

 

// Tested with IDE 20 and VirtualWire 1.4, only working with those.

// RF Link using VirtualWire to Transmit messages

// simplex (one-way) receiver with a 315MHz RF Link Transmitter module

// tx pin 3 on Duemilanova (arduino)

#include "DHT.h" 

#include <VirtualWire.h>  // you must download and install the VirtualWire.h to your hardware/libraries folder

#define DHTPIN 4     // what pin we're connected to

#define DHTTYPE DHT11   // DHT 11 

#undef int

#undef abs

#undef double

read more

Let's Make Robots 29 Dec 22:24
arduino  avr  float  virtual wire