Skip to content

Instantly share code, notes, and snippets.

@rinozen
rinozen / arduinoPPM.ino
Created September 3, 2018 04:47
Arduino 8Ch PPM Decoder with Smoothing and Connection Status
unsigned long int ft, lt, x, tfail;
int ch, chx[9][13];
const int idx = 10;
const int total = 11;
const int val = 12;
void setup() {
Serial.begin(9600);
ft=0; lt=0; x=0; tfail=0; ch=0;