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-25 16:18:51 +02:00
2017-05-24 17:54:02 +02:00
2018-02-27 09:56:54 +01:00
2017-05-24 17:54:02 +02:00
2017-05-24 17:54:02 +02:00
2018-02-14 21:08:29 +01:00
2018-03-14 11:57:34 +01:00
2018-03-06 16:18:31 +01:00
2018-04-16 12:49:06 +02:00
2018-04-04 16:58:59 +02:00
2018-04-16 13:53:49 +02:00
2017-10-20 15:02:41 +02:00
2017-05-24 17:54:02 +02:00
2017-07-06 20:43:29 +02:00
2018-02-20 10:10:13 +01:00
2015-07-07 17:49:17 +02:00
2017-05-24 17:54:02 +02:00
2017-06-27 17:45:42 +02:00
2017-09-01 09:35:48 +02:00
2018-04-05 14:39:59 +02:00
2017-07-04 14:44:17 +02:00
2018-02-08 09:59:16 +01:00
2017-06-16 16:50:54 +02:00
2017-06-16 16:50:54 +02:00
2018-04-06 11:58:43 +02:00
2017-01-19 18:30:53 +01:00
2018-04-05 14:39:59 +02:00
2018-02-28 10:02:03 +01:00
2017-05-24 17:54:02 +02:00
2018-04-10 14:37:29 +02:00
2017-01-19 18:30:53 +01:00
2017-11-14 09:22:02 +01:00
2018-03-22 15:21:01 +01:00
2017-05-24 17:54:02 +02:00
2017-10-26 10:09:09 +02:00
2016-10-26 21:53:58 +02:00
2018-02-09 10:33:46 +01:00
2016-10-04 19:26:23 -07:00
2017-10-12 11:51:24 +02:00
2017-03-28 20:54:06 +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
2017-11-02 21:59:37 -05:00
2016-03-30 15:34:25 +02:00
2017-05-24 17:54:02 +02:00
2017-01-19 18:30:53 +01:00
2014-12-12 12:18:34 +01:00
2018-02-09 14:29:45 +01:00
2018-04-09 16:19:44 +02:00