gabrielnvg / lcd-display-api

Display texts on a 16x2 I2C LCD via Python using HTTP requests on a Node.js server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Display texts on a 16x2 I2C LCD via Python using HTTP requests on a Node.js server.

Installation

On project's directory, run:

$ npm install

Usage

Running the server

On project's directory, run:

$ npm start

It will be running at http://localhost:3000/

On the URL, write one or two texts as parameters with maximum of 16 characters each. They will be displayed as first and second lines on the LCD (respectively).

Example using only one line

Example using both lines

Observations

  • This project uses Node.js' child_process to execute shell commands, so be sure to check that your user has the necessary permissions.

About

Display texts on a 16x2 I2C LCD via Python using HTTP requests on a Node.js server.


Languages

Language:Python 74.1%Language:JavaScript 25.9%