From 1b04448b7518313000c89e2239b4b0d551510fce Mon Sep 17 00:00:00 2001 From: Sijisu Date: Wed, 25 Sep 2019 18:12:56 +0000 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7752d1..265c3f2 100644 --- a/README.md +++ b/README.md @@ -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! \ No newline at end of file