Add auto toString for various APIs (#1033)
This commit is contained in:
committed by
GitHub
parent
27024baa51
commit
2700a77cae
@ -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;
|
||||
|
Reference in New Issue
Block a user