0.1.22 refactor bus functions so they are generated from a common function.
use the uci/base processing and namespaces add a queue for bus function calls rework all the examplesmaster
parent
06dd1b97c0
commit
85b1332da0
|
@ -43,7 +43,7 @@ export async function test (address) {
|
||||||
packet = {cmd:'read', args:{address:address ,cmd:9} }
|
packet = {cmd:'read', args:{address:address ,cmd:9} }
|
||||||
console.dir(packet)
|
console.dir(packet)
|
||||||
this.send(packet)
|
this.send(packet)
|
||||||
// await delay(1000)
|
await delay(300)
|
||||||
}
|
}
|
||||||
console.log('========= done each relay, clear (off) this ============')
|
console.log('========= done each relay, clear (off) this ============')
|
||||||
packet = {cmd:'write', args:{address:address,cmd: 9, byte:0} }
|
packet = {cmd:'write', args:{address:address,cmd: 9, byte:0} }
|
||||||
|
|
Loading…
Reference in New Issue