Skip to content

Support turing-smart-screen themes #33

Open
@clach04

Description

@clach04

See mathoudebine/turing-smart-screen-python#649

turing-smart-screen themes are in YAML format, so for use with MicroPython will need to be converted into another format (json would be the low effort one) and then handle a limited nested tree format of placement options. See comment #33 (comment)

Would need to map font sizes differently. Options/ideas:

  1. fixed size, using __import__
  2. see how scaling could work for scalable font / segmented font #19 - would only be approximate

For images, see #37

element notes

  • INTERVAL is the number of seconds
    • there does not seem to be the concept of daily (at the start of the day, hourly, at the start of each hour, every minute at the start of each new minute). Potentially extend with negative numbers?
  • x, y, width is pixels
  • font size is point/pitch (1/72)
  • images can be png (which likely need to be converted for micropython on CYD, with limited RAM)
  • display:
    • DISPLAY_SIZE: 5"
    • DISPLAY_ORIENTATION: landscape
    • DISPLAY_RGB_LED: 71, 127, 255
  • static_text?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions