Using a general-purpose OS (eg, Mac OS X) for real-time applications is a bit of a tarpit. So, I like the idea of using an Arduino (etc) for this sort of thing.
That said, there are some things that will cause problems even in an Arduino. For example, taking raw input from a switch or button may cause the Arduino to see a bunch of momentary spikes as the mechanical contacts settle. So, consider using some sort of hardware input filtering (eg, a one-shot or some analog filtering). This will be far easier than trying to make your code handle the extra interrupts. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume r...@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Software system design, development, and documentation _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel