Giter Site home page Giter Site logo

Comments (6)

perlindgren avatar perlindgren commented on August 22, 2024 3

from rtic.

puzrin avatar puzrin commented on August 22, 2024 2

I think, it worth consider one more case - regulating data pressure. Let's imagine, that we have GUI, which:

  • Reacts to input buttons
  • Do some animation by timer
  • Sends OLED updates via SPI bus

But screen updates can happens faster, than SPI bus can send. What is the most optimal strategy for RTFM to regulate data flow pressure? Is this issue related to RTFM at all?

  • The most obvious approach is using double framebuffer (debounce output). One frame to draw image, second frame - to snapshot image been sent via SPI. Disadvantage - memory requirements.
  • Opposite would be to debounce input (stack keypresses and timer ticks). Possible, but not clear how to implement.

from rtic.

perlindgren avatar perlindgren commented on August 22, 2024 1

from rtic.

puzrin avatar puzrin commented on August 22, 2024

Thanks for reply. Virtual Tasks and Messages (even without timing semantics) would be interesting to glue exiting RTFM interrupt handlers with business-logic domain in human-friendly way.

Are there any timelines for such extension release?

from rtic.

puzrin avatar puzrin commented on August 22, 2024

@Chocol4te no, i'm interested to understand low level libraries and design approaches. Not out-of-box framework solutions. Answers in this thread were very useful.

from rtic.

korken89 avatar korken89 commented on August 22, 2024

If this need more conversation, please reopen this issue. Closing

from rtic.

Related Issues (20)

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.