Skip to content
Browse files

changed readme file

  • Loading branch information...
1 parent f5681dc commit 64622df0c37ebadbc15551eb3050599f27818f24 @pilliq committed
Showing with 22 additions and 0 deletions.
  1. +22 −0 README.md
View
22 README.md
@@ -0,0 +1,22 @@
+# scratchpy
+
+A Python connection class for Scratch (scratch.mit.edu)
+
+## Getting Started
+
+Start up Scratch
+
+Enable remote sensor connections
+
+Create a variable named 'foo'
+
+ >>> import scratch
+ >>> s = scratch.Scratch(host='localhost')
+ >>> s.broadcast(["Hello, Scratch!"])
+ >>> s.receive()
+ {'broadcast': [], 'sensor-update': {'foo': '0'}}
+ >>>
+
+## ToDo
+Parse messages that contain quotes (")
+Clean up message parsing

0 comments on commit 64622df

Please sign in to comment.
Something went wrong with that request. Please try again.