removing serial event (not supported in DAL)

This commit is contained in:
Peli de Halleux
2016-05-19 13:39:28 -07:00
parent 539357237f
commit 9a36a2fc05
3 changed files with 6 additions and 14 deletions

View File

@ -39,10 +39,10 @@ namespace serial {
/**
* Registers an event to be fired when a line has been received
*/
//% help=serial/on-line-received
//% blockId=serial_on_line_received block="serial on line received"
//% weight=21 blockGap=8
// help=serial/on-line-received
// blockId=serial_on_line_received block="serial on line received"
// weight=21 blockGap=8
export function onLineReceived(body: Action): void {
serial.onDataReceived("\n", body);
// serial.onDataReceived("\n", body);
}
}