Initial target repo setup to move to master (v3.10)
This commit is contained in:
@ -66,13 +66,15 @@ namespace pxsim.control {
|
||||
board().bus.queue(id, evid)
|
||||
}
|
||||
|
||||
export function eventTimestamp() {
|
||||
return board().bus.getLastEventTime()
|
||||
}
|
||||
// TODO: (microbit master)
|
||||
// export function eventTimestamp() {
|
||||
// return board().bus.getLastEventTime()
|
||||
// }
|
||||
|
||||
export function eventValue() {
|
||||
return board().bus.getLastEventValue()
|
||||
}
|
||||
// TODO: (microbit master)
|
||||
// export function eventValue() {
|
||||
// return board().bus.getLastEventValue()
|
||||
// }
|
||||
}
|
||||
|
||||
namespace pxsim.pxtcore {
|
||||
@ -86,9 +88,10 @@ namespace pxsim.input {
|
||||
return runtime.runningTime();
|
||||
}
|
||||
|
||||
export function runningTimeMicros(): number {
|
||||
return runtime.runningTimeUs();
|
||||
}
|
||||
// TODO: (microbit master)
|
||||
// export function runningTimeMicros(): number {
|
||||
// return runtime.runningTimeUs();
|
||||
// }
|
||||
|
||||
export function calibrateCompass() {
|
||||
// device calibrates...
|
||||
|
Reference in New Issue
Block a user