Test interleaving
This commit is contained in:
parent
dcd293abe4
commit
d7f97d6476
@ -4,8 +4,11 @@ let plus = i + f
|
|||||||
let minus = i - f
|
let minus = i - f
|
||||||
|
|
||||||
|
|
||||||
loops.forever(() => {
|
for (let i = 0; i < 3; ++i) {
|
||||||
|
loops.forever(() => {
|
||||||
let r = Math.randomRange(0, 100)
|
let r = Math.randomRange(0, 100)
|
||||||
serial.writeValue("R", r)
|
serial.writeValue("R", r)
|
||||||
loops.pause(1000)
|
loops.pause(1000)
|
||||||
})
|
})
|
||||||
|
loops.pause(300)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user