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

BASCOM-AVR : Warning: accessing bit variables are not atomic : REPLY

$
0
0
[quote:1f174456e9="StefanHamburg"]Then you also could use Byte-Variables. [code:1:1f174456e9]DIM tick as Byte[/code:1:1f174456e9] [/quote:1f174456e9] It's also faster then using a bit [code:1:1f174456e9] Dim Mybit as bit Dim Mybytebit as Byte Mybit=1 'Takes 5 cycles Mybytebit =1 'Takes 3 cycles [/code:1:1f174456e9]

Viewing all articles
Browse latest Browse all 20566

Trending Articles



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