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

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

$
0
0
Hi, in [code:1:4cd6812bbe]Config ADC .... [/code:1:4cd6812bbe] I don't see an option to declare signed differential mode. So, what happens is that one has to do a lot of thinking ([i:4cd6812bbe]I know[/i:4cd6812bbe] that's never a bad idea, but enough is enough...) on how to convert the result to the signed number. There is a long discussion meanwhile (see [url]http://bascom-forum.de/showthread.php?5250-Zweierkomplement[/url], "Galahat" giving the most simple conversion method. But it would be nice if conversion won't be necessary at all. Regards, Meister [b:4cd6812bbe][color=red:4cd6812bbe](BASCOM-AVR version : 2.0.7.6 )[/b:4cd6812bbe][/color:4cd6812bbe]

Viewing all articles
Browse latest Browse all 20563

Trending Articles



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