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 <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() { |
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
--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
-- Modified from https://github.com/RCdiy/OpenTXLua/tree/master/FUNCTIONS/GoRace | |
-- http://rcdiy.ca/quad-race-start-sequence-gorace/ | |
-- Jye Smith | |
-- 21/01/2019 | |
--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
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 <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 |
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
# 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 |
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
# 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 |