Rename 'lastEvent' to 'lastEventValue' to match microbit docs
This commit is contained in:
@ -71,7 +71,7 @@ namespace pxsim.control {
|
||||
}
|
||||
|
||||
export function eventValue() {
|
||||
return board().bus.getLastEvent()
|
||||
return board().bus.getLastEventValue()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user