Skip to content
Code running on the Remote-Control
C C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Drivers
HAL @ 3aeaf53
Util
.gitignore
.gitmodules
CMakeLists.txt
README.md
main.cpp

README.md

RadioControlSoftware

Building and deploy

Compile

To compile the firmware run:

cmake . && make

How to flash to firmware

This assumes that an arduino based board with USB-Bootloader is used (mounted at /dev/ttyACM0), if you use a different programmer change the -c flag.

avrdude -p m328 -b 115200 -c arduino -P /dev/ttyACM0 -U flash:w:RadioControlSoftware.hex:i

Output Package

Channel Value
0 Right-X
1 Right-Y
2 Left-X
3 Left-Y
4 Flightmode
5 Armed
6 Empty
7 Empty

All Joystick values are between 0 and 255 with 127 being center.

Flightmodes

Flightmode Number
ANGLE 0
LAUNCH 1
LAND 2
HOLD 3
WAYPOINT 4
You can’t perform that action at this time.