Missing simulator functions and behavior (#1025)
This commit is contained in:
@ -57,4 +57,8 @@ namespace pxsim.serial {
|
||||
export function redirectToUSB() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
export function readBuffer(length: number) {
|
||||
return pins.createBuffer(length);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user