pxt-ev3/libs/ev3/startup.ts
2019-10-18 22:03:50 -07:00

7 lines
210 B
TypeScript

// This is the last thing executed before user code
console.addListener(function(priority: ConsolePriority, msg: string) {
control.dmesg(msg.substr(0, msg.length - 1))
})
// boot sequence
brick.showBoot();