EasyManua.ls Logo

Embedded Systems LM5p-GSMC - Page 258

Default Icon
291 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
258
Example
Alpha MIO BLE watch has heart-rate as one of objects. This event-based script will switch on
ventilation if the heart-rate is >80 and switch off if its lower
21.
value = event.getvalue()
22.
if value > 80 then
23.
grp.write('2/2/2', true)
24.
else
25.
grp.write('2/2/2', false)
26.
end

Table of Contents

Related product manuals