Have put together a modified version of the Arduino LiquidCrystal library, which allows the Arduboy to be used as a full-featured 16x2 character display! :nerd_face:

The two rows of 16 characters are rendered directly to the screen, and fill up the top half (128x32). You can watch the demo using ProjectABE:

Used a nice big 8x16 font from here, and adapted a couple of the functions from here:

Was able to run all of the LiquidCrystal example sketches with just a few edits:

#include <LiquidCrystal.h>
#include “LiquidCrystal.h”
#include <Arduboy2.h>

Arduboy2 arduboy;

void setup() {
arduboy.boot(); // raw hardware
arduboy.display(); // blank the display

…and then lcd.draw(); to refresh the display!

Have not implemented custom characters yet, happy to leave it at this for now! :sweat_smile:


…has only occurred to me after the fact, but this could easily be used as a sort of ‘mixed-mode’ where you use the graphics buffer for the bottom 128x32 half of the screen and draw the text buffer over the top half - they will not overwrite each other as long as you always call arduboy.display() first and then lcd.draw() :slight_smile:

(Simon) #3

I love the idea … just not sure what I will use it for.

Maybe I can be one of those limousine guys you see at the airport. I can run a marquee with my passengers name on it … if I hold the Arduboy out in front of me surely the passengers will be able to see their name?