From 852bdbd2ec37db930f64891664a6fd6e515945b6 Mon Sep 17 00:00:00 2001 From: Sijisu Date: Wed, 25 Sep 2019 18:12:03 +0000 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 365c38b..b7752d1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ 3. Run `setup.py` that will turn LED's autonomity off. `pwntools` module is required to do run the `setup.py` script, so you can also run the commands in the file manually 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]], @@ -19,5 +20,5 @@ 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