Add ADC measurements and reporting to PX4IO, including calibration for the battery input.

This commit is contained in:
px4dev
2012-12-31 21:06:26 -08:00
parent 9be1f99935
commit d93fda20fd
3 changed files with 78 additions and 20 deletions
+4
View File
@@ -73,6 +73,10 @@ struct px4io_report {
uint16_t rc_channel[PX4IO_INPUT_CHANNELS];
bool armed;
uint8_t channel_count;
uint16_t battery_mv;
uint16_t adc_in;
uint8_t overcurrent;
};
#pragma pack(pop)