Skip to content

Instantly share code, notes, and snippets.

#include "iface_nrf24l01.h" // from nrf24_multipro, also requires nrf24l01.ino
#include <stdarg.h>
//SPI Comm.pins with nRF24L01
#define MOSI_pin 3 // MOSI - D3
#define SCK_pin 4 // SCK - D4
#define CE_pin 5 // CE - D5
#define MISO_pin A0 // MISO - A0
#define CS_pin A1 // CS - A1
0 UNKNOWN A5
1 UNKNOWN 00
2 FLUSH_TX
3 FLUSH_RX
4 W_REGISTER(07 STATUS) 70
5 W_REGISTER(1F) 12 EC 6F A1 46
6 W_REGISTER(1A) D5 21 EB 2C 5A 40
7 W_REGISTER(19) 1F
8 W_REGISTER(1E) F6 3F 5D
9 W_REGISTER(1B) 0B DF 02
@goebish
goebish / PWM2LED.ino
Last active August 7, 2020 20:48
PWM2LED
// PWM2LED
// goebish 2017
//
#include <FastLED.h> // (lib available at https://github.com/FastLED/FastLED/archive/master.zip )
// see https://github.com/FastLED/FastLED/wiki/Pixel-reference for reference
// settings
#define NUM_LEDS 12
@goebish
goebish / CX10_Blue_PCB.ino
Last active September 25, 2022 20:59
Cheerson CX-10 Tx Arduino Code (blue PCB)
// Update : a xn297 is not required anymore, it can be emulated with a nRF24l01 :
// https://gist.github.com/goebish/ab4bc5f2dfb1ac404d3e
// **************************************************************
// ****************** CX-10 Tx Code (blue PCB) ******************
// by goebish on RCgroups.com
// based on green pcb cx-10 TX code by closedsink on RCgroups.com
// based largely on flysky code by midelic on RCgroups.com
// Thanks to PhracturedBlue, hexfet, ThierryRC
// Hasi for his arduino PPM decoder