Skip to content

Commit 045ada6

Browse files
committed
Updated the example
1 parent e87339a commit 045ada6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@ A Python connection class for [Scratch](scratch.mit.edu)
66

77
1. Start up Scratch
88

9-
2. Enable remote sensor connections
9+
2. Enable remote sensor connections, or "Host Mesh" in [BYOB](http://byob.berkeley.edu/)
1010

1111
3. Create a variable `foo`
1212

1313
```
1414
>>> import scratch
1515
>>> s = scratch.Scratch(host='localhost')
16-
>>> s.broadcast(["Hello, Scratch!"])
16+
>>> s.broadcast("Hello, Scratch!")
1717
>>> s.receive()
1818
{'broadcast': [], 'sensor-update': {'foo': '0'}}
1919
>>>
2020
```
21-

0 commit comments

Comments
 (0)