2

I am new to Arduino. I have used other SBCs before and ran some ruby script to automate many tasks.

I know Ruby and Crystal programming languages.

Can I use Ruby or Crystal solely on Arduino for creating basic robot?

  • 2
    Short answer: No – chrisl Aug 28 '19 at 21:17
  • 4
    Long answer: Noooooooooooooo. – Majenko Aug 28 '19 at 22:40
4

You could bridging via Firmata: https://playground.arduino.cc/Interfacing/Ruby/

Another resource is https://code.tutsplus.com/articles/using-ruby-to-program-arduino--cms-21893

You will need to Flash your Arduino with Firmata and then program in Ruby. I'm not sure if that would work with Crystal.

2

No. You cannot. It is not possible. And some more filler to make the answer long enough.

1

This is for Ruby: https://playground.arduino.cc/Interfacing/Ruby/

Here are generic info about interfacing: https://playground.arduino.cc/Main/Interfacing/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.