Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR : Wish: Make Getadc return signed values : REPLY

$
0
0
[quote:7f7010c29e]Shouldn't 1 additional line of code solve the problem?[/quote:7f7010c29e] Yes, after recognizing the problem ... and trying to understand what Getadc brings out in that case since the mode is not supported by config adc... Indeed, that solution was suggested by "Galahat" in the other forum. Why not having Getadc doing that directly? That ADC-Mode is quite common in some ATtinys and some Megas. In the XMegas however, the ADC result is coded differently. So it less straightforward to read the ADC at present. Regards, Meister

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>