Came out of the Navy and started programming traffic light controllers in 6800 assembly. Since 1986, I've been working for the same company, programming in assembly, C, Basic, and Forth for everything from PIC12 to ARM7.

You don't have to multiply or divide at all, if you can use the conversion value directly. If you're reading a joystick to get position on a screen, is a right-justified...
Put it this way: the right-justified value is an integer in the range 0-4095. If you're measuring a voltage that has a maximum value of 4.096 volts, you have 1 bit...
You certainly can; it's just a matter of what's more understandable under your specific set of circumstances. Say, for example, you were monitoring a battery...
@Dilberto is right. This is the key thing. For example, if you define a 32-bit integer to contain a 16-bit integer value in the upper 16 bits, and a fraction in...

Use this form to contact Steve_Wheeler

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address