Add auto toString for various APIs (#1033)

This commit is contained in:
Guillaume Jenkins
2018-08-02 16:30:02 -04:00
committed by GitHub
parent 27024baa51
commit 2700a77cae
6 changed files with 15 additions and 8 deletions

View File

@ -33,6 +33,7 @@ namespace basic {
//% async
//% blockId=device_print_message
//% parts="ledmatrix"
//% text.shadowOptions.toString=true
void showString(String text, int interval = 150) {
if (interval <= 0)
interval = 1;