diff --git a/bbio/libraries/BBIOServer/bbio_server.py b/bbio/libraries/BBIOServer/bbio_server.py index 883600f..12333cc 100644 --- a/bbio/libraries/BBIOServer/bbio_server.py +++ b/bbio/libraries/BBIOServer/bbio_server.py @@ -163,7 +163,7 @@ def start(self, *pages): with open(path, 'w') as f: f.write(str(page) % links) - # Start srver in a daemon thread: + # Start server in a daemon thread: server_thread = threading.Thread(target=self._server.serve_forever) server_thread.daemon = True server_thread.start() diff --git a/examples/BBIOServer_mobile_test.py b/examples/BBIOServer_mobile_test.py index 7e0eb83..5f7e6ae 100644 --- a/examples/BBIOServer_mobile_test.py +++ b/examples/BBIOServer_mobile_test.py @@ -39,7 +39,7 @@ def print_entry(text): print "Text entered: \n '%s'" % text def setup(): - # Set the LEDs we'll be ontrolling as outputs: + # Set the LEDs we'll be controlling as outputs: pinMode(USR2, OUTPUT) pinMode(USR3, OUTPUT) diff --git a/examples/BBIOServer_test.py b/examples/BBIOServer_test.py index 71f8ac3..298e6a7 100644 --- a/examples/BBIOServer_test.py +++ b/examples/BBIOServer_test.py @@ -35,7 +35,7 @@ def print_entry(text): print "Text entered: \n '%s'" % text def setup(): - # Set the LEDs we'll be ontrolling as outputs: + # Set the LEDs we'll be controlling as outputs: pinMode(USR2, OUTPUT) pinMode(USR3, OUTPUT) diff --git a/examples/EventIO_test.py b/examples/EventIO_test.py index 3a9761c..016cb9a 100644 --- a/examples/EventIO_test.py +++ b/examples/EventIO_test.py @@ -80,4 +80,4 @@ def loop(): run(setup, loop) # As soon as ctrl-c is pressed the event loop process will be -# automatically termintated and the program wil exit happily. +# automatically terminated and the program wil exit happily. diff --git a/examples/knock.py b/examples/knock.py index ecb283f..54644d3 100644 --- a/examples/knock.py +++ b/examples/knock.py @@ -1,6 +1,6 @@ """ knock.py - Alexander Hiam - 3/21/2012 - Adapted from the Ardiuno knock.pde example skecth for use + Adapted from the Ardiuno knock.pde example sketch for use with PyBBIO - https://github.com/alexanderhiam/PyBBIO Uses a Piezo element to detect knocks. If a knock is detected