uploading a simple humidity sketch to RFduino and repeated drops bluetooth service. I have to reload the software to get it to broadcast again. Here is sketch:
#define DHTPIN 3 // what pin we're connected to
#define DHTTYPE DHT11 // DHT 11
int probe = 3; //probe pin
DHT dht (DHTPIN, DHTTYPE);
RFduinoBLE.deviceName = "Humid1";
RFduinoBLE.advertisementData = "Humidity";
float h = dht.readHumidity();
//sends the humidity number
On iPhone program that I am running I repeatedly get the erro Code 6 "the connection has timed out unexpectedly".
I have tried some similar programs using the DHT.h files with similar results. If I run a simple included RFduino temperature program I get a rare, once very 10 minutes stop in data send but does not drop the connection.
Appreciate the help.