Class LCDOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class LCDOutputStream
    extends java.io.OutputStream
    A simple output stream that implements console output. It writes to the bottom line of the screen, scrolling the LCD up one line when writing to character position 0, and starting a new line when the position reaches 16 or a new line character is written. Used by System.out.println.
    Author:
    Lawrie Griffiths
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(int c)  
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LCDOutputStream

        public LCDOutputStream​(TextLCD lcd)
      • LCDOutputStream

        public LCDOutputStream()
    • Method Detail

      • write

        public void write​(int c)
        Specified by:
        write in class java.io.OutputStream