Skip to content

Instantly share code, notes, and snippets.

@programeriss
programeriss / arduinoPPM.ino
Created October 8, 2018 18:10 — forked from rinozen/arduinoPPM.ino
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;