2017-06-29 16:47:26 +02:00
|
|
|
let i = 1
|
|
|
|
let f = 0.5
|
|
|
|
let plus = i + f
|
|
|
|
let minus = i - f
|
|
|
|
|
2017-07-02 13:32:17 +02:00
|
|
|
|
|
|
|
loops.forever(() => {
|
|
|
|
let r = Math.randomRange(0, 100)
|
2017-07-01 12:43:10 +02:00
|
|
|
serial.writeValue("R", r)
|
|
|
|
loops.pause(1000)
|
2017-07-02 13:32:17 +02:00
|
|
|
})
|