Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
Loading...
Searching...
No Matches
Artemis::Devices::TemperatureSensors::temperaturebeacon Struct Reference

The temperature beacon structure. More...

#include <artemis_devices.h>

Public Attributes

BeaconType type = BeaconType::TemperatureBeacon
 The type of the beacon.
 
uint32_t deci = 0
 A decimal identifier for the beacon.
 
float tmp36_temperatureC [ARTEMIS_TEMP_SENSOR_COUNT]
 The temperature data for each TMP36 sensor.
 
float teensy_temperatureC = 0
 The temperature of the Teensy.
 

Detailed Description

The temperature beacon structure.

This defines the structure of the temperature beacon.

The temperature beacon consists of four members: the type of beacon (type), the decimal identifier (deci), the temperature data of the TEMP36 sensors (tmp36_temperatureC[]), and the temperature of the Teensy (teensy_temperatureC).A diagram of the struct is included below.

 1 byte  4 bytes 4*X bytes              4 bytes
+-------+-------+----------------------+---------------------+
| type  | deci  | tmp36_temperatureC[] | teensy_temperatureC |
+-------+-------+----------------------+---------------------+
(Note: X = ARTEMIS_TEMP_SENSOR_COUNT)

Member Data Documentation

◆ deci

uint32_t Artemis::Devices::TemperatureSensors::temperaturebeacon::deci = 0

A decimal identifier for the beacon.

This value is the current uptime of the Teensy in milliseconds. By default, it is zero.

◆ tmp36_temperatureC

float Artemis::Devices::TemperatureSensors::temperaturebeacon::tmp36_temperatureC[ARTEMIS_TEMP_SENSOR_COUNT]

The temperature data for each TMP36 sensor.

The temperature values are stored as an array of floating-point values. The length of the array is defined by the ARTEMIS_TEMP_SENSOR_COUNT constant.

◆ type

BeaconType Artemis::Devices::TemperatureSensors::temperaturebeacon::type = BeaconType::TemperatureBeacon

The type of the beacon.

The BeaconType of the beacon, which is set to TemperatureBeacon.


The documentation for this struct was generated from the following file: