Joakim Nohlgård 57f6081960 sys/analog_util: Refactor adc_map, fix compilation
Change the API to use int32_t instead of int, to allow for greater
flexibility on 8- and 16-bit platforms. Removed limitation on input
arguments that min < max. Times where it can be useful to have min > max
is when measuring a sensor where a higher measured voltage means a lower
physical value. For example a thermistor can be connected so that the
measured voltage goes down when the temperature goes up.
2018-04-16 13:53:49 +02:00
..
2017-10-20 15:02:41 +02:00
2015-07-07 17:49:17 +02:00
2017-09-01 09:35:48 +02:00
2018-04-05 14:39:59 +02:00
2017-06-16 16:50:54 +02:00
2017-06-16 16:50:54 +02:00
2018-04-05 14:39:59 +02:00
2018-02-28 10:02:03 +01:00
2018-03-22 15:21:01 +01:00
2016-10-26 21:53:58 +02:00
2015-08-21 23:30:04 +02:00
2017-10-20 15:02:41 +02:00
2016-10-26 21:53:58 +02:00
2017-12-12 07:51:39 +01:00
2017-05-24 17:54:02 +02:00
2017-07-04 14:44:17 +02:00
2018-02-09 14:29:45 +01:00