Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

First attempts to use fixed point data types (COSMO LITTLE)

$
0
0
I am trying to generate a fractional result from an integer division. The c statement is: Aevent_time.fractionalclockcycles = (SPI1BUF - Acalconstant) / Acalconstant ; /* calibrated time increment*/ Acalconstant is defined as unsigned int.fractionalclockc..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



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