serial buzzer interface bug fixin attempt nr 2342

This commit is contained in:
john stone 2011-12-17 02:39:47 +01:00
parent 8761883bd3
commit 51a09e3594
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit fbac8e20554a8356f2b3984412a2b70f712ab0e0 Subproject commit 6f1b5a9fed76b7dfbdce042d170405b0f1f7b700

View File

@ -104,7 +104,7 @@ function pushIrcInfo() {
/* /*
* Buttons * Buttons
*/ */
var buzz = new (require('./buzz_iface/node_lib/buzz').Buzz)('/dev/ttyUSB0'); var buzz = new (require('./buzz_iface/node_lib/buzz').Buzz)('/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A400gqnA-if00-port0');
buzz.on('button', function(key) { buzz.on('button', function(key) {
console.log({button:key}); console.log({button:key});
sendToFrontend({ buzzer: key }); sendToFrontend({ buzzer: key });