Quantcast
Channel: MPLAB XC32
Viewing all articles
Browse latest Browse all 1537

Problems with modulo (Rafauy)

$
0
0
Hi, I have the following code(the result is typed in bold): uint32_t debugVariable; uts_timer.tmrCount = 23688; //uts_timer.tmrCount is an uint64_t debugVariable = (uint32_t)(uts_timer.tmrCount); sprintf((char*)PRN_LINE,"Print: %u", debugVariable % 1000);..

Viewing all articles
Browse latest Browse all 1537

Trending Articles



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