Git Product home page Git Product logo

Comments (4)

haugstrup avatar haugstrup commented on August 24, 2024

Hardware resources

Software resources

from johnny-five.

haugstrup avatar haugstrup commented on August 24, 2024

Some random documentation so I don't have to store it in my brain:

One thing I'm not sure how to handle best is the character mapping. The character map for the LCD is 'almost' US-ASCII for the first 127 code points. There are the following changes:

  • 92 is a Yen symbol instead of backslash
  • 126 is a right-arrow instead of a tilde
  • 127 is a left-arrow instead of del

Additionally there are prettier versions of g, j, p, q and y available at code points 231, 234, 240, 241, 249. These go below the baseline and will only fit on a 5x10 pixel display, but they should be used instead of the ASCII code points for those letters if available.

Input should be validated before being sent to the LCD so only 'good' code points are being sent. Otherwise I think people can end up in strange situations.

from johnny-five.

rmurphey avatar rmurphey commented on August 24, 2024

Wanted to make a list of the things we should incorporate:

  • make command method use write4Bits or write8Bits methods (in-progress)
  • configurable four-bit, eight-bit mode
  • configurable 1/2 lines
  • configurable 5x8, 5x10 dots
  • display, noDisplay methods
  • setCursor method
  • cursor, noCursor methods
  • blink, noBlink methods
  • leftToRight, rightToLeft
  • scrollDisplayLeft, scrollDisplayRight
  • autoscroll, noAutoscroll

These should be straightforward to implement based on https://github.com/arduino/Arduino/blob/master/libraries/LiquidCrystal/LiquidCrystal.cpp.

from johnny-five.

haugstrup avatar haugstrup commented on August 24, 2024

A few more

  • Configure number of columns (16, 20, 40 whatever)
  • Convenience method for writing out a single line of text to the display

from johnny-five.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.