Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Виртуальный модуль Led.Module строки #4

Open
SmileGobo opened this issue Mar 31, 2019 · 0 comments
Open

Виртуальный модуль Led.Module строки #4

SmileGobo opened this issue Mar 31, 2019 · 0 comments
Labels
Milestone

Comments

@SmileGobo
Copy link
Owner

SmileGobo commented Mar 31, 2019

Модуль знает свою ширину и может "обновлять кадр" т.е. загрузка опорного кадра(всей строки) далее сдвиг по столбцам.

Можно реализовать как

скользящее окно.

Загружаем строку(набор столбцов) всю, первая команда отдает нам видимый кадр и далее окно сдвигается по столбцу.

class Module:
  def __init__(self, width: int):
    pass

  def updateValue(self, columns):
    pass
  
  def next(self) -> List[LedDriver.Command.Base]:
   pass
@SmileGobo SmileGobo added this to the Led.Display milestone Mar 31, 2019
@SmileGobo SmileGobo changed the title Виртуальный модуль Led строки Виртуальный модуль Led.Module строки Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant