pinMode(RxPin, INPUT);I can see that "int RxPin = 8; //The number of signal from the Rx"I don't understand what this corresponds to.
Using a RXB6 receiver module I was able to decode 433MHz codes from a 433MHz RF switch.The code used for that used"mySwitch.enableReceive(13); // Receiver on interrupt GPio 13 => that is pin D7"Would the line become?:pinMode.enableReceive(13);
int RxPin = 8;means that instead of using the character/number "8" to represent the number of the pin in question, the label "RxPin" can be used instead. Change 8 to another number in that line and that number will be used by the rest of the program wherever RxPin is used. The comment added after the // is quite unhelpful. As jremington suggests the 433MhzRx's output is attached to pin 8 which is the input in this case.
// Libraries// #include <SPI.h> Not needed as this is already included for ESP8266#define MAX_BYTES 7#define countof(x) (sizeof(x)/sizeof(x))// Interface Definitionsint RxPin = 13; // Receiver on interrupt GPIO 13 => that is pin D7
https://github.com/robwlakes/ArduinoWeatherOS Cheers, Rob