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