examenopdracht-jarnoth
v2.1.1
Published
a program that print given numbers as an 7 segment display
Downloads
6
Readme
Examenopdracht 2020 - Temperatuur LCD Display
What is it
This LCD works according to the 7 segment principle, so a number of the seven boxes light up to create a number.
How do you install it
You can install the library with npm, by using the command npm install examenopdracht-jarnoth. alternativly it is also possible to clone the repo and npm install the path towards the repo. for example npm install C:\Users\jarno\Desktop\test\examenopdracht-JarnoTh
How do you use it
Library creates these figures from binary wares the possible values are:
00010010 = 1
10111100 = 2
10110110 = 3
01110010 = 4
11100110 = 5
11101110 = 6
10010010 = 7
11111110 = 8
11110110 = 9
11011110 = 0
00000001 = ,
10000001 = C
11000001 = °
11100001 = spatie*3
11110001 = kader (standaard geen kader)
11111001 = groot of klein (standaard klein)
11111101 = -
If you want to display multiple digits you have to split the digits using a comma. The comma has to be placed after every byte (the number has to be one byte). A comma must also be placed as the end of the input. Below an example:
11011110,00000001,10110110,
matches the numbers
0,3
wrapping the text in a frame or making the font bigger is possible, first you sent the frame byte (if applicable) after witch you send the the fond size (if applicable) after witch you can send the number bytes. If you don't use these features and wish to use de default values you should leave them out.
Not working
I did not manege to make to application print in an horizontal line.
License
MIT
Copyright (c) 2020 Thierens Jarno
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Author
This application is made by Thierens Jarno commissioned by Sille Van Landschoot as part of the study Electronics and ICT on VIVES University.