Re: [casper] Converting ADC output back to 8 bits

2020-08-09 Thread Dan Werthimer
hi molly, i think most engineers and programmers that deal with fixed point numbers prefer to use fractional representation between -1 and +1, as then it doesn't make much difference how many bits the numbers have - they will all have the same range. a 16 bit number will range from -1 to +1, and

[casper] Converting ADC output back to 8 bits

2020-08-09 Thread 'Molly Smith' via casper@lists.berkeley.edu
Hello, I'm trying to get 8-bit real values from the katADC yellow block in Simulink. I was wondering why the block outputs fixed 8.7 bit values instead? I found the following explanation on one of the CASPER wikis but I'm still confused. "The ADC block converts analog inputs to digital