Shop OBEX P1 Docs P2 Docs Learn Events
Can the Javelin handle Doubles!!! — Parallax Forums

Can the Javelin handle Doubles!!!

vic-solarvic-solar Posts: 7
edited 2008-02-08 05:32 in General Discussion
Hello:
I'm in the process of writing some code for my javelin, to interface with some Xbee modules, I need to send information to specific nodes, so I need to enter their addresses.........well this is the challenge... this Addresses are READ ONLY Hex numbers, My question is can the javelin handle a double... or a number big enough.

victor

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-02-08 05:32
    The javelin does not support doubles, floats and longs.
    But since you read in data from the xbee using a uart,
    you need to store it in a char array first anyway.
    You can just as well keep it there.
    A four byte character array will hold a 32bits address.

    regards peter
Sign In or Register to comment.