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