Things Bus: Difference between revisions
From Pumping Station One
| Line 42: | Line 42: | ||
The following is an example of a Nueron. It connects to sensory input, the hackerpspace's front and back doors, and sense data to an actuator, zirc, an actuator that writes data to #pumpingstationone on irc.freenode.net | The following is an example of a Nueron. It connects to sensory input, the hackerpspace's front and back doors, and sense data to an actuator, zirc, an actuator that writes data to #pumpingstationone on irc.freenode.net | ||
Before running the example, you must have a recent python, recent libzmq installed, and must have pyzmq installed. | |||
#!/usr/bin/env python | #!/usr/bin/env python | ||