From cbb3c9832bbe31d741930d43d3e21a04abeb12f8 Mon Sep 17 00:00:00 2001 From: VG Date: Wed, 28 Jan 2015 00:03:35 +0100 Subject: first commit --- readme.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 readme.rst (limited to 'readme.rst') diff --git a/readme.rst b/readme.rst new file mode 100644 index 0000000..4737ef5 --- /dev/null +++ b/readme.rst @@ -0,0 +1,12 @@ +Simple project to switch lights on/off with a servo (for fun) +############################################################# + +This is a two night project to allow a little linux board to control the +lights of the home. It does it by flapping a switch with a servo going from +a position to another. + +Simple control is done on the serial line. Exemple with python: + + import serial + s = serial.Serial('/dev/serial/device', baudrate=9600) + s.write(b't') # toggle switch -- cgit v1.2.3