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