We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e87339a commit 045ada6Copy full SHA for 045ada6
README.md
@@ -6,16 +6,15 @@ A Python connection class for [Scratch](scratch.mit.edu)
6
7
1. Start up Scratch
8
9
-2. Enable remote sensor connections
+2. Enable remote sensor connections, or "Host Mesh" in [BYOB](http://byob.berkeley.edu/)
10
11
3. Create a variable `foo`
12
13
```
14
>>> import scratch
15
>>> s = scratch.Scratch(host='localhost')
16
->>> s.broadcast(["Hello, Scratch!"])
+>>> s.broadcast("Hello, Scratch!")
17
>>> s.receive()
18
{'broadcast': [], 'sensor-update': {'foo': '0'}}
19
>>>
20
21
-
0 commit comments