missing shim

This commit is contained in:
Peli de Halleux 2016-05-10 09:28:05 -07:00
parent fcfdbcc7e4
commit 9d1f2e024b

View File

@ -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];
}