Code Monkey home page Code Monkey logo

quotepad's People

Contributors

marcoplaisier avatar

Watchers

 avatar

quotepad's Issues

Homepage

Create a basic homepage with:

  • button to create new text
  • some simple explanation text
  • link to another page to view the texts

Add different foreground colors

Different colors per letter. Every letter may have a specific color out of 7 options.

  1. Blue (0, 0, 255)
  2. Green (0, 255, 0)
  3. Red (255, 0, 0)
  4. Cyan (0, 255, 255)
  5. Magenta (255, 0, 255)
  6. Yellow (255, 255, 0)
  7. White (255, 255, 255)

Send text via SPI

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)

Temporarily stop the text

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.

Settings page

  • SPI speed
  • Amount of LED displays connected together (1-4)
  • Interrupt pins?
  • On/off times?
    -...

Directly show a text

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.

Background color

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.

  1. Blue
  2. Green
  3. Red
  4. Cyan
  5. Magenta
  6. Yellow
  7. White

Set speed of text

Byte 3: 0x00 .. 0x0F means the speed of the text. 0x00 is the slowest and 0x0F the fastest.

Create ticker texts

  • controller

  • view (very simple, separate page without any formatting)

  • template

  • disallow any text formatting in quill editor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.