5 ms·
Seven Segment Display
- nateguchi 2y ago11 segment display?
- thih9 2y agoOnly if you type: k, m, w, v, x, z. Also: /, \, >, <. *. Edit: uppercase too! In particular: K, M, W, but also: D (especially interesting), N, R.
- brudgers 2y ago14 segments is more of a standard https://en.wikipedia.org/wiki/Fourteen-segment_display https://en.wikipedia.org/wiki/Fourteen-segment_display
- phkahler 2y agoWhen I was disassembling roms for the Cinematronics vector arcade games I ran across a very interesting function to draw a 7 segment digit. The caller would set a starting position which would be at the middle left vertex, and a delta (dx, dy) with dy equal to the digit width and dx = 0. It would then either draw to or move to current position plus (dx,dy). Then it would swap dx and dy and optionally flip their signs. The sign flipping is done conditionally based on a bit mask (same for every digit) and the draw/move option depended on the digit to display. From that center point it would go up, right, down, left, down, right, up, right. IIRC that final right move could leave it at a decent location to start the next digit, but I think in practice that would leave too much space. An odd algorithm with very little state, which was important when you only have 256 12-bit words of memory.
- basemi 2y agoRelated: https://front-end.social/@ashur/112820329021521965 https://front-end.social/@ashur/112820329021521965
- Retr0id 2y agoI think the glyph for "Q" should be the same as "O" but with the bottom-right diagonal element on too.
- thih9 2y agoMy favorite is the apostrophe. Simple and yet works very well.
- ChrisMarshallNY 2y agoThat's nice! It works quite fast. I did something similar, as a Swift module. I use it for one of my apps. https://github.com/RiftValleySoftware/RVS_RetroLEDDisplay https://github.com/RiftValleySoftware/RVS_RetroLEDDisplay
- NelsonMinar 2y agoSee also https://aresluna.org/segmented-type/ https://aresluna.org/segmented-type/ for a bunch of segmented displays of varying complexity.
- volemo 2y agoHyphen seems to be an accidental omission.
- skibz 2y agoLikewise for comma and grave.
- deleted 2y ago[deleted]
- anditherobot 2y agoHow did people differentiate between 1 and L, 5 and S, 0 and O? ex: 1055 & LOSS ( one zero five five & loss)
- dole 2y agoWith more segments than just 11: https://www.digikey.com/en/products/detail/kingbright/ACPSC04-41CGKWA/8343943 https://www.digikey.com/en/products/detail/kingbright/ACPSC0... This one's missing a period (and question mark/exclamation point), and the opportunity for a hyphen.
- Retr0id 2y agoI'm a fan of HPDL-1414 display modules, which have an integrated character ROM covering the symbols and upper-case part of ASCII: https://www.farnell.com/datasheets/76528.pdf https://www.farnell.com/datasheets/76528.pdf It does have a few more segments, but all the glyphs it covers are distinguishable.
- skibz 2y agoThis is a beautiful demo.