Micro-Robotics logoProduct rangeVM2 controllersStarter kitsApplication boardsDisplay HardwareInterface ModulesFree Tools - overviewVenom LanguageVenomIDEGUI FrameworkLive Server DemoDesign ServiceSkill SetProductionCapabilitiesApplication StoriesVM2 vs. Raspberry Pi
Micro-Robotics icon Products submenu link

Timing

Venom has timing primitives built into the language. Keywords such as WAIT will cause processing to halt for a given number of milliseconds. The EVERY keyword will repeat some code at a constant rate. Every 1000 ;Repeat once per second [ heater.On Wait 200 ;Wait for 1/5 of a second heater.Off ] Also there are objects such as Stopwatch and Timer that allow even more versatile millisecond timing, for example: Make t Timer(10000) ;A timer for 10 seconds t.Go ;Start it counting down Await t.Done ;Wait until it's finished Venom also has full support for real-time date and time calculations.

See the Manuals for more details.