Search found 2 matches

by Puma_FPV
Fri Oct 23, 2020 7:04 am
Forum: ESP32 Arduino
Topic: Porting Arduino pro mini code to esp32 (playing with serial communication)
Replies: 1
Views: 1953

Re: Porting Arduino pro mini code to esp32 (playing with serial communication)

Here is the whole code for those who wants to know (the .h file is only about declaration and useless to understanding the code) #include <Arduino.h> #include "PXX.h" #define PPM_CENTER 127 //1500 #define PPM_LOW 0 //817 #define PPM_HIGH 255 //2182 #define PPM_HIGH_ADJUSTED (PPM_HIGH - PPM_LOW) #def...
by Puma_FPV
Thu Oct 22, 2020 4:13 pm
Forum: ESP32 Arduino
Topic: Porting Arduino pro mini code to esp32 (playing with serial communication)
Replies: 1
Views: 1953

Porting Arduino pro mini code to esp32 (playing with serial communication)

Hello, for my project I need to communicate with a RF module (R9M from FrSky) with a protocol called PXX or PCM. After some time I understood how it worked and also found a library that could be used. Saddly this library is made for Arduino pro mini and calls registers and buffers in two functions.....