Page 1 of 1

Changing LED color of Kilobots using LUA

Posted: Wed Jul 17, 2019 4:52 am
by Waqar731
Hi,
Can we change the led color of kilobots using lua. Because when I am trying the following command in lua then I am getting the error.

Code: Select all

robot.leds.set_single_color(1,"red")

After writing the above command in lua, I am getting the following error.

Code: Select all

attempt to index field 'leds' (a nil value)

What's wrong with the command?

The same command easily change the led color of foot-bot in Lua. But not working with kilobots :?:

Thanks

Re: Changing LED color of Kilobots using LUA

Posted: Wed Jul 17, 2019 7:25 am
by pincy
The Kilobot does not support Lua.