Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: HenrikOlsson; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    57
    Views
    84,451

    Re: HMC5883L Magnetometer chip Possibilities.

    Hi,
    You're quite right Richard!
    It works provided that x in this case IS declared as a byte (which it was in your code of course)

    x = Reading >> 4
    HSEROUT["Reading: ", SDEC Reading, " X: ",...
  2. Replies
    57
    Views
    84,451

    Re: HMC5883L Magnetometer chip Possibilities.

    Hi,

    Shooting from the hip a bit here....

    Since the ATN expects 8bit two's complement values I'm not sure it's going to work when you give it your x and y variables since they are both 16bit...
Results 1 to 2 of 2