Mosaic
Well-Known Member
Mosaic submitted a new article:
Integer Percentage & ASM, no FP - This is a further discussion in the vein of 3v0's scaling article posted earlier.
Percentage cal
Read more about this article...
Integer Percentage & ASM, no FP - This is a further discussion in the vein of 3v0's scaling article posted earlier.
Percentage cal
This is a further discussion in the vein of 3v0's scaling article posted earlier.
Percentage calculations become necessary reasonably frequently, as a correction factor for sensors or for scaling numbers to fit on a limited digit display or any number of applications.
Recently, I had reason to scale variable 8 bit numbers by a variable percentage in ASM. I also had a limitation of running the microcontroller at a low clock speed to be power efficient as a solar application.
The key in...
Read more about this article...