dmadison / led-segment-ascii Goto Github PK
View Code? Open in Web Editor NEWLibrary of ASCII character representations using 7 segment, 14 segment, and 16 segment LED displays
License: MIT License
Library of ASCII character representations using 7 segment, 14 segment, and 16 segment LED displays
License: MIT License
Thank you so much for doing this.
I was dreading turning a seg16 array into seg14.
so thankyou!
Also please consider posting it to the Arduino libraries and the Platform.io libraries so more people discover it.
Hi your 16 segment font works great with adafruit backpack breakout board. I just pasted the data over the old data in Adafruit_LEDBackpack.cpp which is in the library folder. now the 14 segment demos work correctly with my 8 digit 16 segment display.
Thanks for sharing your hardwork!!!
You may be interested in the 7-segment patterns for ASCII codes 32 to 126 at https://lingvo.org/sepseg/led7alfabeto.gif noting that no pattern is duplicated for the printable ASCII characters) and that readability is optimizated for lower case).
/* UniqueSevenSegmentASCII : DP_G_F_E_D_C_B_A /
const uint8_t UniqueSevenSegmentASCII[96] =
{
0b00000000, / (space) /
0b00010010, / ! /
0b00100010, / " /
0b00011101, / # /
0b01001101, / $ /
0b01011001, / % /
0b01100011, / & /
0b00100000, / ' /
0b00100001, / ( /
0b00000011, / ) /
0b01100010, / * /
0b01000110, / + /
0b01000100, / , /
0b01000000, / - /
0b00000100, / . /
0b01010010, / / /
0b00111111, / 0 /
0b00000110, / 1 /
0b01011011, / 2 /
0b01001111, / 3 /
0b01100110, / 4 /
0b01101101, / 5 /
0b01111101, / 6 /
0b00000111, / 7 /
0b01111111, / 8 /
0b01101111, / 9 /
0b00000101, / : /
0b01000101, / ; /
0b01100001, / < /
0b01000001, / = /
0b01000011, / > /
0b01010011, / ? /
0b01011101, / @ /
0b01110111, / A /
0b01101100, / B /
0b00111001, / C /
0b00001111, / D /
0b01111001, / E /
0b00110010, / F /
0b00111101, / G /
0b01110110, / H /
0b00001001, / I /
0b00011110, / J /
0b01110101, / K /
0b00111000, / L /
0b01001001, / M /
0b00110111, / N /
0b00101111, / O /
0b00010011, / P /
0b01101011, / Q /
0b00110001, / R /
0b00101101, / S /
0b00101011, / T /
0b00111110, / U /
0b00111010, / V /
0b01111110, / W /
0b00110110, / X /
0b00101110, / Y /
0b00011011, / Z /
0b00011001, / [ /
0b01100100, / \ /
0b00001101, / ] /
0b00100011, / ^ /
0b00001000, / _ /
0b00000010, / ` /
0b01011111, / a /
0b01111100, / b /
0b01011000, / c /
0b01011110, / d /
0b01111011, / e /
0b01110001, / f /
0b01100111, / g /
0b01110100, / h /
0b00010000, / i /
0b00001100, / j /
0b01110000, / k /
0b00110000, / l /
0b00010101, / m /
0b01010100, / n /
0b01011100, / o /
0b01110011, / p /
0b00100111, / q /
0b01010000, / r /
0b01001100, / s /
0b01111000, / t /
0b00011100, / u /
0b00011000, / v /
0b00101010, / w /
0b00010100, / x /
0b01101110, / y /
0b01001000, / z /
0b01101001, / { /
0b00100100, / | /
0b01001011, / } /
0b00000001, / ~ /
0b00000000, / (del) */
};
Description of segment order in README.md for 14-segment display has an error: L and N are mixed up.
Thank you very much for the table. It help me a lot.
But I needed to change the segment assignment.
To easy this task, I modified the table to use symbols for segments as below.
14-Segment-ASCII_SYM.txt
16-Segment-ASCII_SYM.txt
7-Segment-ASCII_SYM.txt
I have a python script to do it.
conv2seg.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.