added serial.redirect

This commit is contained in:
Peli de Halleux
2016-05-26 11:07:09 -07:00
parent ce9a83ff28
commit 0648e80131
5 changed files with 74 additions and 1 deletions

View File

@ -438,6 +438,10 @@ namespace pxsim.serial {
let b = board();
b.bus.listen(DAL.MICROBIT_ID_SERIAL, DAL.MICROBIT_SERIAL_EVT_DELIM_MATCH, handler);
}
export function redirect(tx: number, rx: number, rate: number) {
// TODO?
}
}