Jump to content

dusty

Members
  • Gesamte Inhalte

    1
  • Benutzer seit

  • Letzter Besuch

Posts erstellt von dusty

  1. Hey, I thought I might help out. I made a class in Java that extends the LCD20x4 Bricklet allowing you to write text without having to specify the lines. I plan to add more functions to it though (word wrap etc).

     

    This allows you to use all the functions of the standard class as well as the new ones.

     

    Usage:

    Bricklet20x4Writer LCD = new Bricklet20x4Writer("UIDHERE");
    ipcon.addDevice(LCD);
    LCD.clearDisplay();
    
    LCD.writeText("The maximum this screen can hold is 80 characters anything over will be removed!");
    

     

    EDIT: https://github.com/samvaughton/TinkerTools -> This is where I'm working on it, up to date version there.

     

    Link to the class (call your class file "BrickletLCD20x4Writer.java")

     

    http://pastebin.com/vZ2E728y

     

×
×
  • Neu erstellen...