While loop on Bolt

How to implement While loop on Bolt?


While loop has to be implemented using Javascript example for which can be found in above link.

hey, but implementing while loop in javascript will be much slower .I feel the fastest way of implementing while loop is by reprogramming bolt’s microcontroller .

It is not possible to re-program Bolts microcontroller. Any attempt for it will delete its firmware.

can’t I read and save the existing firmware on my computer? Also implementing while loop from javascript does not work (bolt starts hanging ,restarting again and again).Without changing the firmware bolt cannot perform independent functions