forked from pvx/litsimaja
parent
ba02a41c13
commit
9e9617468e
1 changed files with 25 additions and 1 deletions
@ -1,3 +1,27 @@ |
||||
# litsimaja |
||||
|
||||
Projekt Litsimaja - Lapikute tagatoa seintele programmeeritavad ARGB ribad |
||||
Projekt Litsimaja - Lapikute tagatoa seintele programmeeritavad ARGB ribad |
||||
|
||||
#### Running the program |
||||
```python run.py``` |
||||
|
||||
#### Running with emulation |
||||
This is mainly for testing, development. |
||||
|
||||
In ``lib/Litsimaja.py`` change the following: |
||||
``` |
||||
# from lib.strip.TkinterStrip import TkinterStrip |
||||
|
||||
def __init__(self): |
||||
self._strip = PixelStrip(290, 18, 800000, 10, False, 255, 0, 4104) |
||||
``` |
||||
to |
||||
``` |
||||
from lib.strip.TkinterStrip import TkinterStrip |
||||
|
||||
def __init__(self): |
||||
self._strip = TkinterStrip(290, 18, 800000, 10, False, 255, 0, 4104) |
||||
``` |
||||
Now when you run the program, you will see a Tkinter window pop up with a rectangle simulating the LED strip. |
||||
|
||||
Don't commit this change. |
Loading…
Reference in new issue