An example to use the dirac3 with RubyMotion