Commit Graph

3 Commits

Author SHA1 Message Date
uncrustify 4a7e79b3ac uncrustify libraries/AP_AnalogSource/AnalogSource.h 2012-08-21 19:00:17 -07:00
Andrew Tridgell 10e546eebd AnalogSource: return a float from read() method
this gives the full resolution when using the ADC backend. It also
adds scaling for the Arduino backend
2011-12-17 07:29:09 +11:00
Pat Hickey 0c0a1b1dcc purple: Added AnalogSource library
this library abstracts out the way of getting an analog value. If the
ADC library is being used then it calls the ADC Ch() method, otherwise
it calls analogRead()
2011-11-25 20:00:16 -08:00