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
// | |
// GP-02 GPS/BDS/GNSS module performance test | |
// tested with a ESP32-S2 module (USB CDC serial + exposed HW UART pins) | |
// | |
#include <OneBitDisplay.h> | |
ONE_BIT_DISPLAY obd; | |
uint8_t u8Flags; | |
#define FLAG_TIMEDATE 1 | |
#define FLAG_POSITION 2 |
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 <RH_RF95.h> | |
#define RF95_CS 10 | |
#define RF95_INT 2 | |
#define RF95_RST 9 | |
#define RF95_FREQ 915.0 | |
RH_RF95 rf95(RF95_CS, RF95_INT); |
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
// Auto-pilot for docking with the International Space Station | |
// | |
// The program uses Artificial Intelligence and Decision Trees (i.e. basic kinematics and a bunch of if statements) | |
// to perform docking with the ISS from any starting position. | |
// | |
// To use it: | |
// - open the SpaceX simulation website: https://iss-sim.spacex.com/ | |
// - open the Developer's console and paste the contents of this file | |
// | |
// Demo: https://youtu.be/jWQQH2_UGLw |
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
//***************************************** | |
// NEC (Japanese) Infrared code sending library for the Arduino | |
// Send a standard NEC 4 byte protocol direct to an IR LED on the define pin | |
// Assumes an IR LED connected on I/O pin to ground, or equivalent driver. | |
// Tested on a Freetronics Eleven Uno compatible | |
// Written by David L. Jones www.eevblog.com | |
// Youtube video explaining this code: http://www.youtube.com/watch?v=BUvFGTxZBG8 | |
// License: Creative Commons CC BY | |
//***************************************** |