Last active
May 29, 2018 08:14
-
-
Save 4noha/1cb04302e6ce5a5cdf77bd866a25cc8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'ftdi' | |
| @ctx = Ftdi::Context.new | |
| @ctx.usb_open_desc(0x0403, 0x6001,nil,"00000000") | |
| @ctx.set_bitmode(0x3f, :bitbang) | |
| @ctx.read_pins | |
| @ctx.write_data [0x03] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
192: cup no available, and dont eject yet
196: cup no available
200: dont eject yet
204: pourable
0x03 pomp and heat