<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
</div>Oops, I over-complicated that. Try this:<br>
<div class="im">struct {<br>
u8 code[5];<br>
u8 unused[11];<br>
} pttid[15];<br></div></blockquote><div><br>This I will definitely do. I've seen it before but I guess until now I didn't realize what it was doing or why. Now I do. Thanks.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<br>
</div>Now instead of calling pttid.code0, call pttid[0].code. Or:<br>
<br>
for pttid in self._memobj.pttid:<br>
_code = pttid.code<br>
... # create setting, etc<br></blockquote><div> <br></div></div>I'll try this out today as well.<br>Thanks,<br>Jim<br>