Skip to content

Instantly share code, notes, and snippets.

@JyeSmith
JyeSmith / RX5808_set_freq_example.ino
Last active March 23, 2024 23:04
RX5808 set freq example
#include <SPI.h>
#define SPI_ADDRESS_SYNTH_B 0x01
#define PIN_SPI_SLAVE_SELECT 22
#define RSSIA_PIN 36
#define RSSIB_PIN 39
uint16_t freq = 5740;
void setup() {
@JyeSmith
JyeSmith / GoRace.lua
Created January 21, 2019 07:45
Quad Race Start Sequence with random start tone
--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-- Modified from https://github.com/RCdiy/OpenTXLua/tree/master/FUNCTIONS/GoRace
-- http://rcdiy.ca/quad-race-start-sequence-gorace/
-- Jye Smith
-- 21/01/2019
--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@JyeSmith
JyeSmith / ESP32_RTC6705_setFrequency.ino
Last active November 30, 2021 07:39
RTC6705_setFrequency
#include <Arduino.h>
#include <SPI.h>
#define SYNTHESIZERREGISTERA 0x00
#define SYNTHESIZERREGISTERB 0x01
#define SYNTHESIZERREGISTERC 0x02
#define RFVCODFCCONTROLREGISTER 0x03
#define VCOCONTROLREGISTER 0x04
#define VCOCONTROLREGISTERCONT 0x05
#define AUDIOMODULATORCONTROLREGISTER 0x06
# Betaflight / STM32F405 (S405) 4.3.0 Dec 27 2020 / 20:40:55 (32373e3e0) MSP API: 1.44
board_name FENIX_F405
manufacturer_id FENX
# resources
resource MOTOR 1 B01
resource MOTOR 2 B00
resource MOTOR 3 A03
resource MOTOR 4 A02
# Betaflight / STM32F411 (S411) 4.2.0 Jun 14 2020 / 03:04:43 (8f2d21460) MSP API: 1.43
board_name FENOXE
manufacturer_id FENX
# resources
resource MOTOR 1 A08
resource MOTOR 2 A09
resource MOTOR 3 A10
resource MOTOR 4 B00