marcoplaisier / quotepad Goto Github PK
View Code? Open in Web Editor NEWEdit and show texts on a ticker display
License: MIT License
Edit and show texts on a ticker display
License: MIT License
The background color is set for each text separately. It is not possible to vary the background color per letter. It is sent in the 'header' of the protocol.
For example, when doing something important.
Set GPIO8 (pin 24) to high.
Byte 3: 0x00 .. 0x0F means the speed of the text. 0x00 is the slowest and 0x0F the fastest.
Create a basic homepage with:
Different colors per letter. Every letter may have a specific color out of 7 options.
controller
view (very simple, separate page without any formatting)
template
disallow any text formatting in quill editor
Requires https://hexdocs.pm/elixir_ale/api-reference.html
Assume every 10 seconds or so. And see #6 for the actual interrupt
Header
Byte 1 - 0xFE (start byte)
Byte 2 - background color (see #14)
Byte 3 - speed (see #24)
Byte 4 - font number (see #11)
Byte 5 - spare (0x00)
Byte 6 - spare (0x00)
Content
Byte 6 - letter 1
Byte 7 - color (see #9)
Byte 8 - letter 2
Byte 9 - color
...
End
Byte x - 0xFF (stop byte)
Bold, cursive, underlined?
Listen to GPIO4 (pin 7). When it goes high, send data after 100 milliseconds on SPI.
Two bytes:
x = 0xFD
x+1 = 0x00 .. 0xFF
Means that the remaining text will hold for 0 up to 255 seconds.
This replaces a single letter.
The hardware will ask for texts. Show the last sent text as 'active' in the editor environment
Byte 7: 0xFC.
Byte 8: 0x00 .. 0xFF
The text will directly show on the ticker text for 0 up to 255 seconds.
Add extra warning that text should be less than a certain amount of letters.
E.g. speed of text
Only when building tags
See: https://github.com/nerves-project/nerves/blob/master/docs/User%20Interfaces.md
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.