28 Dec
2012
28 Dec
'12
9:15 p.m.
...and that would be because lbcd 0xFF 0xFF == 16665d.
Ah, right, I forgot it was BCD.
Should I add a get_raw() method to arrayDataElement? Then do this:
return field.get_raw() in [0, 0xFFFF]
The only reason I'm using int for the comparison is because that's the coercion that's available in arrayDataElement.
Sure, I think that's much better.
--
Dan Smith
www.danplanet.com
KK7DS