Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Pack/Unpack Tutorial (aka How the System Stores Data)

by NetWallah (Abbot)
on Sep 12, 2003 at 19:06 UTC ( #291161=note: print w/replies, xml ) Need Help??

in reply to Pack/Unpack Tutorial (aka How the System Stores Data)

Thanks, pfaut for a good tutorial.

Your "Example code" has errors that need to be fixed.

Undefined subroutine &main::DumpScalar called at <code-file> line 38.
Replacing all 11 occurrances of "DumpScalar" by "DumpString" corrects the problem.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://291161]
[stevieb]: everything depends on how the I2C hardware at the other end returns. Instead of forcing a user to bitshift, I think I'll add methods for read_word_big() and read_word_little() or something

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-07-22 00:21 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (336 votes). Check out past polls.