We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://shokai.github.com/event_emitter
current
arduino.on_analog_changed 0 do |value| puts value # => 0 ~ 1023 end
new
arduino.on :analog_read do |pin, value| puts "#{pin} -> #{value}" end
arduino.on_sysex_received(0x01) do |data| puts "command : 0x01" puts "data : #{data.inspect}" end
arduino.on :sysex do |command, data| puts "command : #{command}" puts "data : #{data.inspect}" end
The text was updated successfully, but these errors were encountered:
load event_emitter #17
a9818ad
on_analog_changed -> on :analog with EventEmitter #17
b4752b0
on_sysex_received -> on :sysex with EventEmitter #14 #17
1aaf29f
update README #17 #14
12007b3
No branches or pull requests
EventEmitter
http://shokai.github.com/event_emitter
analog
current
new
sysex
current
new
The text was updated successfully, but these errors were encountered: