Closed Floppy closed 10 years ago
Like so:
bot = BrickPi.create do |bot| bot.motor :port_A bot.motor :port_B bot.touch_sensor :port_1 end
This is an awesome first step toward a DSL that would make this compatible with Artoo. Seriously great stuff.
exactly what I had in mind :)
Like so: