FirmataMruby

FirmataMruby

たろサ
May 17, 2013
  • Everyone

  • 3.2 and up

    Android OS

Mengenai FirmataMruby

FirmataMruby is an application program to be able to operate GR-KURUMI

FirmataMruby is an application program to be able to operate GR-KURUMI by using the Firmata protocol.

The program of GR-KURUMI can be written in the ruby language. A special command of digitalWrite etc. was prepared.

It is the same as Yamruby of another application program excluding a special command for GR-KURUMI.

In addition, the heading character of the class name becomes a capital letter as for the command of Yamruby though it is almost the same as Luarida of another application program.

Yamruby has opened the source to the public to github, and refer to fvmExec.c for details, please.

Still, please feel free to contact me when you want you to add the command for GR-KURUMI though the command for GR-KURUMI is insufficient.

There is ruby program complete set of FirmataMruby about the SD card/FirmataMruby/as follows.

Moreover, there are sketch.cpp file and kurumi_sketch.bin file for GR-KURUMI/FirmataMruby/sketch/KURUMI/as follows.

Please forward this sketch.cpp and do the build by the Web compiler or forward kurumi_sketch.bin to GR-KURUMI.

If GR-KURUMI that writes kurumi_sketch.bin is connected with Android by using the FTDI substrate etc. and FirmataMruby is started, the communication is begun.

The ruby program is only executed now. Program (lchika.rb) that lights LED as a sample for KURUMI is appended.

Firmatamruby.rb that exists in the FirmataMruby folder of the SD card is the main menu program. This is a selection menu in the script.

If the made script file name is added to the Menu table of firmatamruby.rb, it is OK to start the script of making by oneself.

Moreover, if the short cut is pasted to the home screen, the ruby script can be started directly because the short cut of the rb file can be made.

The explanation of a command is written on the Web site displayed at the end. Please look at the explanation of ruby because the syntax is ruby language.

The program can be written only with Android by using the editor. Jota Text Editor is recommended.

===Command only for GR-KURUMI===

pinMode( pin, mode )

The mode of the pin is set.

Argument

pin: It is a pin number.

mode: It is a mode. 0:INPUT 1:OUTPUT

digitalWrite( pin, value )

It is a level in the pin is output.

Argument

pin: It is a pin number.

value: 0:LOW 1:HIGH

digitalRead( pin )

The input level of the pin is read.

Argument

pin: It is a pin number.

Return value

0:LOW, 1:HIGH

analogWrite( pin, value )

The PWM ratio is changed into the pin and the voltage is output.

Argument

pin: It is a pin number.

value: It is output PWM ratio (0-255).

analogRead( pin )

The analog voltage of the pin is read.

Argument

pin: It is a pin number.

Return value

Ten bit value: Value of ten bits (0-1023)

Tunjukkan Lagi

What's new in the latest 1.00

Last updated on May 17, 2013
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Tunjukkan Lagi

Video dan tangkapan skrin

  • FirmataMruby penulis hantaran
  • FirmataMruby syot layar 1
  • FirmataMruby syot layar 2
  • FirmataMruby syot layar 3
  • FirmataMruby syot layar 4

Maklumat APK FirmataMruby

Versi terkini
1.00
Category
Alatan
Android OS
3.2 and up+
Pemaju
たろサ
Available on
Penilaian Kandungan
Everyone
Muat turun APK Selamat & Cepat di APKPure
APKPure menggunakan pengesahan tandatangan untuk memastikan muat turun APK FirmataMruby tanpa virus untuk anda.
APKPure ikon

Muat Turun Super Pantas dan Selamat melalui Apl APKPure

Satu klik untuk memasang fail XAPK/APK pada Android!

Muat Turun APKPure
thank icon
Kami gunakan kuki dan teknologi yang lain pada laman web ini untuk menambah baik pengalaman anda.
Dengan klik mana-mana pautan pada halaman ini, anda bersetuju dengan Dasar Privasi dan Dasar Kuki kami.
Baca Yang Selanjutnya