Shop OBEX P1 Docs P2 Docs Learn Events
Is HP5160x2.SXB the most recent version; same as pre-installed SX code on Seria — Parallax Forums

Is HP5160x2.SXB the most recent version; same as pre-installed SX code on Seria

ZootZoot Posts: 2,227
edited 2008-01-16 18:14 in General Discussion
I want to tweak the driver code on one of my inkjet boards, and want to make sure that this is the code that was pre-loaded on the on-board SX (so that I can reinstall it when/if I goof on my own changes). This code and accompanying documentation were downloaded from the Parallax product page.

Also, I think there is a typo in the remarks at the top of the program, which describe a 32 byte text buffer. Inkjet Board documentation says 64 bytes, and the SX/B code uses a 64 byte buffer and max count.

' =========================================================================
'
'   File...... HP5160x2.SXB
'   Purpose... Simple Driver for HP 5160x Inkjet Cartridge 
'   Author.... Jon Williams, Applications Engineer
'              Parallax, Inc. -- Copyright (c) 2005, All Rights Reserved
'   E-mail.... support@parallax.com
'   Started... 11 OCT 2005
'   Updated... 08 NOV 2005
'
' =========================================================================

'TYPO?

' To print text: <STX>Some text<ETX>
' -- Note that the text buffer is 32 bytes; printing will start as soon
'    as 32 characters are received and others will be ignored.




See this thread http://forums.parallax.com/showthread.php?p=702094 if you're curious about (small) changes I'm going to make.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST

1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
Sign In or Register to comment.