tag:blogger.com,1999:blog-7377057412446264720.post4377776754856885187..comments2023-07-10T00:13:42.099-04:00Comments on <a href="http://antipastohw.blogspot.com/">Antipasto Hardware Blog</a>: Arduino IDE Meets RubyUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7377057412446264720.post-39985198845459656572009-08-20T20:06:19.906-04:002009-08-20T20:06:19.906-04:00I know I'm a bit late to find this and add to ...I know I'm a bit late to find this and add to the discussion, but in case you haven't already found it, you should definitely check out RAD (Ruby Arduino Developlment) which lets you write Ruby code that gets translated into Arduino code. It was written by my friend Greg Borenstein and I'm quite sure he would love to hear about your developments. <br /><br />http://rad.rubyforge.org/Thomas Lockneyhttps://www.blogger.com/profile/16275825412026166159noreply@blogger.comtag:blogger.com,1999:blog-7377057412446264720.post-76174811203307338392009-07-07T15:22:36.179-04:002009-07-07T15:22:36.179-04:00@ryan
From what I can tell, they are not running ...@ryan<br /><br />From what I can tell, they are not running anything derived from the ruby code on the Arduino. By providing a ruby interface into the Arduino IDE, you can build things akin to build scripts (send a proprietary config to the device via serial, perhaps) and unit tests (verify that, whilst running, the Arduino performs in an expected fashion).mikehttps://www.blogger.com/profile/07805601742188173334noreply@blogger.comtag:blogger.com,1999:blog-7377057412446264720.post-13742865967339508782009-07-06T19:09:27.098-04:002009-07-06T19:09:27.098-04:00@Chris
So the Ruby API is for interacting with th...@Chris<br /><br />So the Ruby API is for interacting with the IDE, not necessarily for generating code that will compile for the Arduino, correct?ryanhttps://www.blogger.com/profile/06944970264901139312noreply@blogger.comtag:blogger.com,1999:blog-7377057412446264720.post-38665110453922780962009-07-06T13:45:49.142-04:002009-07-06T13:45:49.142-04:00@Ryan
Yes! The Ruby API will be able to command t...@Ryan <br />Yes! The Ruby API will be able to command the IDE.<br /><br />The Arduino Ruby API link is still being worked on, but the fundamental scripting framework now exists. <br /><br />Omar's got a short list of implemented API calls, but you will be able to write scripts that look something like this:<br /><br />Arduino.compile()<br />Arduino.upload()<br /><br />myFile = File.new("Arduino_serial_log.txt","w")<br /><br />while( Arduino.SerialAvailable() ) {<br /> myFile.puts(Arduino.SerialRead())<br />}<br /><br />myFile.close()<br /><br /><br />I'm really excited to see the API get traction over the next couple of releases!Chrishttps://www.blogger.com/profile/12772971512697373580noreply@blogger.comtag:blogger.com,1999:blog-7377057412446264720.post-59378607765531072052009-07-05T21:10:42.033-04:002009-07-05T21:10:42.033-04:00so does this mean that there is a ruby api for the...so does this mean that there is a ruby api for the arduino? what would i use this for?ryanhttps://www.blogger.com/profile/06944970264901139312noreply@blogger.com