Skip to content
master
Switch branches/tags
Go to file
Code

README.md

RFTransmitter

433 MHz modules

This is an Arduino library for low-cost 433 MHz transmitter modules with a focus on reliable one-way communication and forward error correction. It has no dependencies and works any digital output pin.

The corresponding RFReceiver library for the 433 MHz receiver modules can be found here.

Usage

433 MHz module connection

#include <RFTransmitter.h>

#define NODE_ID          1
#define OUTPUT_PIN       11

// Send on digital pin 11 and identify as node 1
RFTransmitter transmitter(OUTPUT_PIN, NODE_ID);

void setup() {}

void loop() {
  const char *msg = "Hello World!";
  transmitter.send((byte *)msg, strlen(msg) + 1);

  delay(5000);

  transmitter.resend((byte *)msg, strlen(msg) + 1);
}

About

An Arduino library for low-cost 433 MHz transmitter modules with with a focus on reliable one-way communication and forward error correction

Resources

License

Releases

No releases published

Packages

No packages published

Languages