missing shim
This commit is contained in:
parent
fcfdbcc7e4
commit
9d1f2e024b
@ -453,6 +453,10 @@ namespace pxsim.radio {
|
||||
board().radio.datagram.send([value0, value1, value2, value3]);
|
||||
}
|
||||
|
||||
export function sendValue(name:string, value: number) {
|
||||
board().radio.datagram.send([value]);
|
||||
}
|
||||
|
||||
export function receiveNumber(): number {
|
||||
return board().radio.datagram.recv().data[0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user