Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
|
The PDU header file. More...
#include "debug.h"
#include "support/configCosmosKernel.h"
#include <Arduino.h>
#include <TeensyThreads.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
class | Artemis::Devices::PDU |
The satellite's Power Distribution Unit (PDU). More... | |
struct | Artemis::Devices::PDU::pdu_packet |
The PDU packet structure. More... | |
struct | Artemis::Devices::PDU::pdu_telem |
The PDU telemetry packet structure. More... | |
Namespaces | |
namespace | Artemis::Devices |
The namespace representing sensors and devices in the satellite. | |
Macros | |
#define | PDU_CMD_OFFSET 48 |
An offset for PDU commands. | |
The PDU header file.
#define PDU_CMD_OFFSET 48 |
An offset for PDU commands.
This corresponds to ASCII character 48, which is '0'. Adding this value to the contents of a PDU packet offsets its value to become an ASCII character. We do this to essentially convert 'raw' uint8_t bytes into 'readable' ASCII character types.