Revert "Control event value in simulator (#343)"
This reverts commit 00f4c9cbb3
.
This commit is contained in:
@ -65,14 +65,6 @@ namespace pxsim.control {
|
||||
// TODO mode?
|
||||
board().bus.queue(id, evid)
|
||||
}
|
||||
|
||||
export function eventValue(): number | string {
|
||||
return board().bus.getLastEvent();
|
||||
}
|
||||
|
||||
export function eventTimestamp(): number {
|
||||
return board().bus.getLastEventTime();
|
||||
}
|
||||
}
|
||||
|
||||
namespace pxsim.pxtcore {
|
||||
|
Reference in New Issue
Block a user