View Single Post
Old 5th December 2020, 10:31   #18  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
just to show how good your question is.

8 bit to 12 bit is

uint16_t limitedrange8to12bit(uint16_t a)
{
return a*16;
}
huhn is offline   Reply With Quote