mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 22:48:29 -04:00
7c939e83e0
this gives the full resolution when using the ADC backend. It also adds scaling for the Arduino backend
12 lines
162 B
C++
12 lines
162 B
C++
|
|
#ifndef __ANALOG_SOURCE_H__
|
|
#define __ANALOG_SOURCE_H__
|
|
|
|
class AP_AnalogSource
|
|
{
|
|
public:
|
|
virtual float read(void) = 0;
|
|
};
|
|
|
|
#endif // __ANALOG_SOURCE_H__
|