Method: Mindwave::Headset#sendbyte
- Defined in:
- lib/mindwave.rb
#sendbyte(hexbyte) ⇒ Object
this method sends a byte to the serial connection (Mindwave only)
383 384 385 386 |
# File 'lib/mindwave.rb', line 383 def sendbyte(hexbyte) cmd = BinData::Uint8be.new(hexbyte) cmd.write(@conn) end |