User talk:Danf/TurtleGraphics

From Noisebridge
Revision as of 01:02, 22 January 2015 by Bfb (talk | contribs) (Created page with "Hi Danf, I figured on a working integration of the eeg stream into turtles. Check out https://github.com/kevinjos/openbci-feature-viewer It was the try/except/finally block c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Hi Danf, I figured on a working integration of the eeg stream into turtles. Check out https://github.com/kevinjos/openbci-feature-viewer

It was the try/except/finally block closing the stream all along. That was ment to encapsulate the main loop... alas. I also made the send_encoded_packet method into a generator (with coroutine side effects). After calling next() and before yielding a packet, it sends packets to the coroutine of your choosing. A veritable fountain of packets.