Difference between revisions of "User talk:Danf/TurtleGraphics"

From Noisebridge
Jump to: navigation, search
(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...")
 
 
Line 3: Line 3:
  
 
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.
 
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.
 +
 +
awesome, will check it out!  Meanwhile, loaded new version of older code (no 'eeg' mode) just to the nb wiki for now.

Latest revision as of 02:56, 24 January 2015

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.

awesome, will check it out! Meanwhile, loaded new version of older code (no 'eeg' mode) just to the nb wiki for now.