Updated Lua Scripting (markdown)
This commit is contained in:
parent
988efc6533
commit
626cdf2fc5
|
@ -381,8 +381,14 @@ end
|
|||
|
||||
# set sensor value
|
||||
```
|
||||
vssSensor = Sensor.new("VSS");
|
||||
vssSensor.set(90)
|
||||
vssSensor = Sensor.new("VSS")
|
||||
function onTick()
|
||||
vssSensor : set(90)
|
||||
val = getSensor("VSS")
|
||||
print ("VVS " ..getSensor("VSS"))
|
||||
end
|
||||
|
||||
|
||||
```
|
||||
|
||||
# CAN receive
|
||||
|
|
Loading…
Reference in New Issue