13 lines
230 B
Kotlin
13 lines
230 B
Kotlin
|
package drills.drill06.exercise4.actuator
|
||
|
|
||
|
import drills.drill06.exercise4.SensorNet
|
||
|
|
||
|
fun main() {
|
||
|
TemperatureActuatorNode(
|
||
|
SensorNet.URI,
|
||
|
"irrigation",
|
||
|
SensorNet.TOPIC,
|
||
|
">= 20"
|
||
|
).start()
|
||
|
}
|