user2377771
user2377771

Reputation: 1

Running TX433 and RX433 RF modules with AVR microcontrollers

I am trying to interface an RF module with AVR ATmega 128. I found this code interesting, but I couldn't understand these two lines:

//define receive parameters

#define SYNC 0XAA// synchro signal

#define RADDR 0x44

Upvotes: 0

Views: 1396

Answers (2)

Mindaugas Marozas
Mindaugas Marozas

Reputation: 11

The page moved to: [https://scienceprog.com/running-tx433-and-rx433-rf-modules-with-avr-microcontrollers/][1]

There are better ways to encode data to avoid losing synchronization. The best known is Non-return to zero (NRZ). Also, check out Biphase encoding.

Upvotes: 1

Vincenzo Maggio
Vincenzo Maggio

Reputation: 3869

Without other information, I'll think you're using C or some C-like language.

define creates a so called macro, this means in your code every reference to SYNC for example is replaced by 0XAA

Hope this helps!

Upvotes: 1

Related Questions