Update README.md
This commit is contained in:
parent
852bdbd2ec
commit
1b04448b75
@ -8,7 +8,8 @@
|
||||
4. Make sure that `slave.py` on each device
|
||||
5. Now you can use the `master` module as shown in `test.py`:
|
||||
|
||||
```from master import ColourArray
|
||||
```
|
||||
from master import ColourArray
|
||||
|
||||
testColorData = [[[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255]],
|
||||
[[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255]],
|
||||
@ -20,5 +21,6 @@ testColorData = [[[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,2
|
||||
[[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255]],
|
||||
[[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255],[255,255,255]]]
|
||||
c = ColourArray()
|
||||
c.send(testColorData)```
|
||||
c.send(testColorData)
|
||||
```
|
||||
6. Have fun!
|
Loading…
Reference in New Issue
Block a user