Continuing the discussion from Sending dht11 through IR:
Yes well im using Arduino uno for receiving and teensy 3.2 microcontroller and whatever the protocol im using i can't figure out a way to recalibrate or decode the original signal im sending and those sequences of numbers that i get they are not fixed, i mean they are variable sequences of numbers
the part of the code responsible of sending data is the following
void sendTemperatureIR(int temperature) {
irsend.sendRC5(temperature, 12);
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
the code of receiving
IRrecv irrecv(irReceiverPin);
int receivedTemperature = 0;
irrecv.enableIRIn(); //in void setup
if (IrReceiver.decode(&results)) {
receivedTemperature = results.value & 0xFFF;
Serial.print("Received Temperature: ");
Serial.println(receivedTemperature);
irrecv.resume();
