Shop OBEX P1 Docs P2 Docs Learn Events
Display Feasibility — Parallax Forums

Display Feasibility

lboucherlboucher Posts: 139
edited 2009-07-14 18:21 in General Discussion
Hi All

So here is the question.
I have an SX connected to a Novatel GPS unit.
I receive Northing Easting as 8 byte doubles.
Is it possible to get the values displayed correctly on the parrallax 2x16 serial display?
I am thinking no.
Is there a hardware solution?
Something that would take in a double in byte form and output a string?

Thoughts?

Thanks
Lucas

Comments

  • BeanBean Posts: 8,129
    edited 2009-07-09 01:52
    It is possible. I have converted 4 byte singles to intergers.
    I'd start by looking at the Propeller floating point library to see how it converts a single to a string.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    The needy are many, the deserving are few.

    ·
  • lboucherlboucher Posts: 139
    edited 2009-07-09 02:32
    Is a propeller long the same as an SX word meaning 2 bytes or 16 bits long?
  • lboucherlboucher Posts: 139
    edited 2009-07-09 02:39
    Ohh and as a follow up, i only have about 10-20% programming space left on the SX28.
  • lboucherlboucher Posts: 139
    edited 2009-07-14 18:21
    Actually never mind.
    I realized i could just have the unit send a ASCII log instead of binary.
    THen i don't need to worry about the conversion.

    Much simpler solution.

    Lucas
Sign In or Register to comment.