File main.cpp
FileList > firmware > src > main.cpp
Go to the source code of this file
#include "header.h"#include "utility.h"
Public Attributes
| Type | Name |
|---|---|
| RC17xxHP_RC232 rc1701hp & | Serial1 |
| RC17xxHP_RC232 rc1780hp & | Serial4 |
| HardwareSerial * | SerialUSB1 = &Serial5 |
| HardwareSerial * | SerialUSB2 = &Serial2 |
| Packet | commandPacket |
| dataStruct | dataVars |
| Packet | flightDataPacket |
| Packet | framePacket |
| uint8_t | packetBuffer |
| uint8_t | packetBufferIndex = 0 |
| buttonStruct | pinButton |
| uint8_t | pinControlBox1 = PIN\_PE7 |
| uint8_t | pinControlBox2 = PIN\_PE6 |
| ledStruct | pinLed |
| uint8_t | pinRX_USB1 = PIN\_PG1 |
| uint8_t | pinRX_USB2 = PIN\_PF1 |
| uint8_t | pinTX_USB1 = PIN\_PG0 |
| uint8_t | pinTX_USB2 = PIN\_PF0 |
| Packet | telemetryDataPacket |
Public Functions
| Type | Name |
|---|---|
| void | loop () |
| void | setup () |
Public Attributes Documentation
variable Serial1
variable Serial4
variable SerialUSB1
variable SerialUSB2
variable commandPacket
variable dataVars
variable flightDataPacket
variable framePacket
variable packetBuffer
variable packetBufferIndex
variable pinButton
variable pinControlBox1
variable pinControlBox2
variable pinLed
variable pinRX_USB1
variable pinRX_USB2
variable pinTX_USB1
variable pinTX_USB2
variable telemetryDataPacket
Public Functions Documentation
function loop
function setup
The documentation for this class was generated from the following file groundstation/firmware/src/main.cpp