   # write socket.io color data to buffer as UART instruction
   #
   _to_buffer: (data) ->
-    # logger.info "writing to buffer #{data.color}"
-    buffer = @_data_to_instruction(data)
+    @buffer = @_data_to_instruction(data)
 
 module.exports = Server

  # create writestream to kernel at /dev/ttyO1
  #
  _setup_writestream: ->
    ws = FS.createWriteStream "/dev/ttyO1",
      flags: "w+"

  #
  # write buffer directly to the kernel via /dev/ttyO1 pipe
  # if buffer has content, at 30ms resolution. recursively call this function on success
  #
  _write_pipe: ->
    setInterval (=>
      # console.log "setInterval called with buffer #{buffer}"
      return if buffer.length == 0
      ws.write(buffer, (err, written) =>
        throw err if err
        buffer = ''
        # @_write_pipe()
      )
      # return
    ), 15

  #

  # connect socket.io client to url, bind to socket.io events and our custom events
  #
  _setup_sio: ->
    socket = new io(@_url(), {})
    socket.on 'connect', =>
      logger.info "connected to socket at #{@_url()}"

      # make an initial call to our recursive _write_pipe() method
      @_write_pipe()
