• Stars
    star
    131
  • Rank 275,867 (Top 6 %)
  • Language
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Library of ASCII character representations using 7 segment, 14 segment, and 16 segment LED displays

Segmented LED Display - ASCII Library

Header Image

Synopsis

This repository contains integer literals for displaying ASCII characters on 7 segment, 14 segment, and 16 segment LED displays.

I needed a set of 16 segment and 7 segment ASCII characters for a project, but I couldn't find a readily-available library. I'm sharing my own character patterns so others won't have this problem.

Each character set covers all visible ASCII characters, starting at 32 ('space') and ending at 127 ('del'). Segments are ordered sequentially.

16 Segment

All Sixteen-Segment Characters

Sixteen-segment characters require 17 bits each (16 segments + the decimal point). I've also included a "No Decimal Point" (NDP) set which only requires 16 bits per character. The only other character difference is for '.' which has the display point moved to segment 'R'.

14 Segment

All Fourteen-Segment Characters

Fourteen-segment characters require 15 bits each (14 segments + the decimal point). Many of these are 1:1 with their 16-segment counterparts, with changes only where a single horizontal edge segment was used.

7 Segment

All Seven-Segment Characters

Seven-segment characters require 8 bits each (7 segments + the decimal point). It's more difficult to display certain characters with the limited segments - some require context and a bit of imagination.

Segment Order

LED Segment Legend

For each set the segments are ordered sequentially. Bit '0' corresponds to segment 'A', bit '1' corresponds to segment 'B', and so-on. Here are the ordered segments for each display:

  • 16 Segment: DP-U-T-S-R-P-N-M-K-H-G-F-E-D-C-B-A
  • 14 Segment: DP-N-M-L-K-J-H-G2-G1-F-E-D-C-B-A
  • 7 Segment: DP-G-F-E-D-C-B-A

Use the above image as reference for the segment names and positions.

Issues / Contributions

If you have a suggestion on how to improve a character or if you see a mistake in the repository, please create an issue.

License

The segmented character representations and their associated integer literals are licensed under the terms of the MIT license.

All included reference images are licensed under the Creative Commons - Attribution license.

More Repositories

1

Adalight-FastLED

Adalight with FastLED support
C++
356
star
2

ArduinoXInput

XInput library for USB capable Arduino boards
C++
337
star
3

NintendoExtensionCtrl

Arduino library for communicating with Nintendo extension controllers
C++
105
star
4

ArduinoXInput_AVR

AVR boards package for the ArduinoXInput project
C
70
star
5

Sim-Racing-Arduino

A library to connect sim racing peripherals to Arduino development boards
C++
53
star
6

OBS-ChatSpam

Python script for OBS Studio that posts messages in Twitch chat
Python
40
star
7

ArduinoXInput_Teensy

Teensy boards package for the ArduinoXInput project
C
29
star
8

Sim-Racing-Shields

Add-on circuit boards ("shields") for connecting Arduino development boards to sim racing equipment.
C
23
star
9

ServoInput

Interrupt-driven servo decoder library for Arduino
C++
21
star
10

HID_Buttons

Arduino library making it easier to use HID buttons
C++
20
star
11

Teensy40_Minimalist_USB_Host

A minimalist USB host shield for the Teensy 4.0 development board
20
star
12

FrameVis

A video visualizer / movie barcode generator
Python
15
star
13

OBS-Mute-Indicator

Python script for OBS Studio that sends the 'mute' state of an audio source over serial
C++
15
star
14

ArduinoXInput_Sparkfun

SparkFun boards package for the ArduinoXInput project
C
14
star
15

FastLED_NeoPixel

An Arduino library for using Adafruit NeoPixel library animations with FastLED
C++
14
star
16

Prismatik-iRacing

Prismatik plugin that maps data from the iRacing API
Python
12
star
17

DJHero-Lucio

Code and CAD files for the DJ Hero Lucio controller
C++
9
star
18

RC-Forza-Controller

Modified RC controller to play Forza Horizon 4.
C++
8
star
19

splitflap-youtube-stats

Script for fetching YouTube statistics from the API and sending them to a split-flap display
Python
8
star
20

Xbox360ControllerLEDs

Arduino library for emulating Xbox 360 controller LED animations
C++
7
star
21

McCree-Hammershot

Code and other files for the McCree Hammershot controller
Arduino
6
star
22

Pro_Micro_USB-A

ATMega32U4 Arduino board from SparkFun, modified to work with a USB-A connector
C++
5
star
23

MIDItoMoppy

Arduino library to convert MIDI notes to Moppy data
C++
5
star
24

DJHero-SpinRhythm

Code and CAD files for the DJ Hero modifications for Spin Rhythm XD
C++
5
star
25

AnalogSelector-Arduino

Arduino library for reading a potentiometer as a multi-selector switch
C++
3
star
26

CtrlUtil

Controller Utilities Library for Arduino
C++
2
star
27

OBS-Audio-Track-Hotkeys

Python script for OBS Studio that creates hotkeys for setting audio source track assignments.
Python
2
star
28

MediaFootswitch

Program files for the USB media footswitch controller https://www.partsnotincluded.com/diy-media-key-footswitch-for-pc/
C++
2
star