hourglass_full Your download should start automatically in a few seconds...

Download FirmataLua_Latest Version.apk from Apk-Dl Server

Thank you for using Apk-Dl.com to download the apk file (FirmataLua_Latest Version.apk),

If the download doesn't start automatically in a few seconds, please click here to access the download URL directly.

Note: Download and save the apk file to your Android Phone's SD card and install it manually onto the Android device.

Description

FirmataLua is an application program to beable to operate GR-KURUMI by using the Firmata protocol.
The program of GR-KURUMI can be written in the Lua language. Aspecial command of digitalWrite etc. was prepared.
It is the same as Luarida of another application program excludinga special command for GR-KURUMI. Please refer to the explanation ofthe command of Luarida.
Still, please feel free to contact me when you want you to add thecommand for GR-KURUMI though the command for GR-KURUMI isinsufficient.
There is Lua program complete set of FirmataLua about the SDcard/FirmataLua/as follows.
Moreover, there are sketch.cpp file and kurumi_sketch.bin file forGR-KURUMI/FirmataLua/sketch/KURUMI/as follows.
Please forward this sketch.cpp and do the build by the Web compileror forward kurumi_sketch.bin to GR-KURUMI.
If GR-KURUMI that writes kurumi_sketch.bin is connected withAndroid by using the FTDI substrate etc. and FirmataLua is started,the communication is begun.
The Lua program is only executed now. Program (lchika.lua) thatlights LED as a sample for KURUMI is appended.

Firmatalua.lua that exists in the FirmataLua folder of the SDcard is the main menu program. This is a selection menu in thescript.
If the made script file name is added to the Menu table offirmatalua.lua, it is OK to start the script of making byoneself.
Moreover, if the short cut is pasted to the home screen, the Luascript can be started directly because the short cut of the luafile can be made.
The explanation of a command is written on the Web site displayedat the end. Please look at the explanation of Lua because thesyntax is Lua 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 isoutput.
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)