Difference between revisions of "Project:Traffic Lights"

From London Hackspace Wiki
Jump to navigation Jump to search
(Created page with " == USB Traffic Lights == The traffic lights above Lovelace are currently connected to Babbage via USB. Theyre a USB HID device (Vendor ID 0x03EB, ProductID = 0x2044 - LUFA sta...")
 
Line 13: Line 13:
 
The daemon running on Babbage (under my account) listens for UDP packets on port 9009. Simply send a 3 character string terminated by carriage return and newline to set the light status, for example:
 
The daemon running on Babbage (under my account) listens for UDP packets on port 9009. Simply send a 3 character string terminated by carriage return and newline to set the light status, for example:
  
100\r\n <- green light on
+
100\r\n <- green light on<p>
101\r\n <- green and red lights on
+
101\r\n <- green and red lights on<p>
  
 
This daemon handles the USB stuff for you.
 
This daemon handles the USB stuff for you.
 
  
 
== Current uses ==
 
== Current uses ==

Revision as of 20:43, 19 February 2012