added wait-micros function

This commit is contained in:
Peli de Halleux
2016-08-16 17:04:21 -07:00
parent 851687dba8
commit 9159c297a5
5 changed files with 58 additions and 3 deletions

View File

@ -227,6 +227,10 @@ namespace pxsim.control {
U.userError("reset not implemented in simulator yet")
}
export function waitMicros(micros: number) {
// TODO
}
export function deviceName(): string {
let b = board();
return b && b.id