Permalink
Browse files

Updated the example

  • Loading branch information...
1 parent e87339a commit 045ada6f939d9c59442123eb7b1723598010f657 @pilliq committed Dec 27, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 README.md
View
@@ -6,16 +6,15 @@ A Python connection class for [Scratch](scratch.mit.edu)
1. Start up Scratch
-2. Enable remote sensor connections
+2. Enable remote sensor connections, or "Host Mesh" in [BYOB](http://byob.berkeley.edu/)
3. Create a variable `foo`
```
>>> import scratch
>>> s = scratch.Scratch(host='localhost')
->>> s.broadcast(["Hello, Scratch!"])
+>>> s.broadcast("Hello, Scratch!")
>>> s.receive()
{'broadcast': [], 'sensor-update': {'foo': '0'}}
>>>
```
-

0 comments on commit 045ada6

Please sign in to comment.