@michiel.goetahls/examenopdracht
v1.1.0
Published
![npm badge](https://img.shields.io/badge/npm-v1.1.0-brightgreen.svg) ![ESLint](../../workflows/ESLint/badge.svg?branch=master) ![Markdown Linter](../../workflows/Markdown%20Linter/badge.svg?branch=master) ![Tests](../../workflows/Tests/badge.svg?branch=m
Downloads
16
Readme
Examenopdracht
LCD Temperature
This repository has the functionality to display temperature in LCD Style.
Description
When only using the first argument of the constructor and so you only pass the temperature, you get a default output. This means you get small digits (height: 2, width: 3) and you don't get a border around the temperature.
When using the first two arguments of the constructor, you pass the temperature and enable the border when entering true.
When using the first three arguments of the constructor, you pass the temperature, enable the border (when entering true) and enable the big format when entering true (height: 4, width: 5).
Installation instructions
Simply clone this repository
Run the following command in the folder where you cloned the project
ts-node index.ts
Multiple usage instructions and examples
Small format digits without border (Default):
Index.ts:
Output:
Small format digits with border:
Index.ts:
Output:
Big format digits without border:
Index.ts:
Output:
Big format digits with border:
Index.ts:
Output:
License
Licensed under MIT because it does not state changes and you can use any other license.
Author information
Wrote by Michiel Goethals, Student electronics & ict @ Vives Brugge