Simon,
I recently purchased a TextStar serial LCD module from Cool Components. Very nice too - it has the same "cool factor" as mbed!
I have started to write a class library for it and am using your experimental TextDisplay class as the base. Unfortunately, TextStar's capabilities do not seem to mesh well with the TextDisplay model. For example:
TextStar handles cursor wrapping and has a "lazy scrolling" feature that ensures the most recent output is visible even if the cursor position is not.
TextStar supports a 16 line virtual display and has commands to move the visible window over that space.
TextStar has numerous cursor manipulation commands including several single character ones. These could easily be embedded in a string. This means the column/row tracking logic in character() needs to be much more sophisticated.
TextStar has commands for custom character definition and key programming. The TextDisplay model does not support these operations.
Is TextDisplay likely to become the "official" way of interfacing text displays or is it just another experiment? Should I persevere with TextDisplay or would I be better off deriving a TextStar class directly from Serial?
BTW, I also tried using TextDisplay on the USB virtual serial port talking to TerraTerm. At 9600 baud it was dreadfully slow. Not surprising given that you are doing an x,y addressing before outputting each character. I can't help feeling that this is the wrong approach. Perhaps you should add a mode command to support either raw output (ie fast) or windowed output?
I would appreciate your guidance.
Paul
Simon,
I recently purchased a TextStar serial LCD module from Cool Components. Very nice too - it has the same "cool factor" as mbed!
I have started to write a class library for it and am using your experimental TextDisplay class as the base. Unfortunately, TextStar's capabilities do not seem to mesh well with the TextDisplay model. For example:
TextStar handles cursor wrapping and has a "lazy scrolling" feature that ensures the most recent output is visible even if the cursor position is not.
TextStar supports a 16 line virtual display and has commands to move the visible window over that space.
TextStar has numerous cursor manipulation commands including several single character ones. These could easily be embedded in a string. This means the column/row tracking logic in character() needs to be much more sophisticated.
TextStar has commands for custom character definition and key programming. The TextDisplay model does not support these operations.
Is TextDisplay likely to become the "official" way of interfacing text displays or is it just another experiment? Should I persevere with TextDisplay or would I be better off deriving a TextStar class directly from Serial?
BTW, I also tried using TextDisplay on the USB virtual serial port talking to TerraTerm. At 9600 baud it was dreadfully slow. Not surprising given that you are doing an x,y addressing before outputting each character. I can't help feeling that this is the wrong approach. Perhaps you should add a mode command to support either raw output (ie fast) or windowed output?
I would appreciate your guidance.
Paul