Firmware to drive ESP32 based FC with built-in:
Gyro
Baro
Current Sensor
Voltage reading
OSD
NRF24L01+
4x ESC backplane
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef _EXPRESSFC_H
#define _EXPRESSFC_H
#include "Motors.h"
#include "dshot.h"
// Pin Definitions
#define MOTOR1 13
#define MOTOR2 12
#define MOTOR3 14
#define MOTOR4 27
#define LED_BUILTIN 4
// Task scheduler
#if CONFIG_FREERTOS_UNICORE
#define ARDUINO_RUNNING_CORE 0
#else
#define ARDUINO_RUNNING_CORE 1
#endif
extern uint32_t last_dshot;
// Task Definition
void taskMotor(void *pvParameters); void taskBlink(void *pvParameters);
#endif
|