Skip to content

An arduino library for asynchronously demodulating OOK packets often sent by 433Mhz transmitters

License

Notifications You must be signed in to change notification settings

henrikssn/Rx433

Repository files navigation

Rx433

An arduino library for asynchronously demodulating OOK packets often sent by 433Mhz transmitters.

To use:

class MyHandler : public rx433::Handler {
  bool IsSync(const rx433::Pulse& p) override {
    // Return true if this is (possibly) a sync pulse.
  }
  
  bool Handle(const std::vector<rx433::Pulse>& buf) override {
    // Insert demodulation code here. Return true if successful.
  }
}

void setup() {
  rx433::AddHandler(new MyHandler);
  rx433::Setup(4); // RX module on pin 4;
  // ...
}

void loop() {
  rx433::Loop();
  // ...
}

About

An arduino library for asynchronously demodulating OOK packets often sent by 433Mhz transmitters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published