This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Analog Launch PAD formatted hex printing

Other Parts Discussed in Thread: ALP

Hello,

we intend to print out register values of DS90UB960 with the help of ALP by a python script.

A formatted hex output should work as

print "DES960 0x0C = %02X" % dec2hex(board.ReadI2C(addr,0x0C)),

but it does not.

It is accepted only as

print "DES960 0x0C = , dec2hex(board.ReadI2C(addr,0x0C)).

What could go wrong?

regards

Torsten