pxt-calliope/sim/visuals/boardview.ts
Peli de Halleux 37404acbcc
Tilt support in breadboard + display of accelerometer values (#1379)
* remove disable tilt option

* allow tilting when breadboard is up (music speakers)

* display acceleration

* only showing acc values if read
2018-10-11 13:25:52 -07:00

9 lines
277 B
TypeScript

namespace pxsim.visuals {
mkBoardView = (opts: BoardViewOptions): BoardView => {
return new visuals.MicrobitBoardSvg({
runtime: runtime,
theme: visuals.randomTheme(opts.highContrast),
wireframe: opts.wireframe
});
}
}