About FirmataLua
FirmataLua 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 Lua language. A special command of digitalWrite etc. was prepared. It is...
FirmataLua 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 Lua language. A special command of digitalWrite etc. was prepared.
It is the same as Luarida of another application program excluding a special command for GR-KURUMI. Please refer to the explanation of the command of Luarida.
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 Lua program complete set of FirmataLua about the SD card/FirmataLua/as follows.
Moreover, there are sketch.cpp file and kurumi_sketch.bin file for GR-KURUMI/FirmataLua/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 FirmataLua is started, the communication is begun.
The Lua program is only executed now. Program (lchika.lua) that lights LED as a sample for KURUMI is appended.
Firmatalua.lua that exists in the FirmataLua 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 firmatalua.lua, it is OK to start the script of making by oneself.
Moreover, if the short cut is pasted to the home screen, the Lua script can be started directly because the short cut of the lua 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 Lua because the syntax 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 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)
Previous Versions
Here you can find the changelog of FirmataLua since it was posted on our website on 2017-06-23 01:06:43.
The latest version is 1.00 and it was updated on 2024-04-22 14:25:48. See below the changes in each version.
FirmataLua version 1.00
Updated At: 2013-05-17
Changes: Ver. 1.00,It is the first release.
Disclaimer
Official Google Play Link
We do not host FirmataLua on our servers. We did not scan it for viruses, adware, spyware or other type of malware. This app is hosted by Google and passed their terms and conditions to be listed there. We recommend caution when installing it.
The Google Play link for FirmataLua is provided to you by apps112.com without any warranties, representations or guarantees of any kind, so access it at your own risk.
If you have questions regarding this particular app contact the publisher directly. For questions about the functionalities of apps112.com contact us.