This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
OlderNewer