Start on the 'brick' api topics (#280)
* Start on the 'brick' api topics * Add the delay to clear screen example * Better output for clearsceen example
This commit is contained in:
committed by
Peli de Halleux
parent
e06659ab4c
commit
4f70d341e4
@ -1,7 +1,7 @@
|
||||
{
|
||||
"brick.Mood": "A mood",
|
||||
"brick.Mood.show": "Shows the mood on the EV3",
|
||||
"brick.showMood": "Shows a mood",
|
||||
"brick.showMood": "Show a mood on the brick's screen",
|
||||
"moods.angry": "An angry mood",
|
||||
"moods.awake": "A awake mood",
|
||||
"moods.dizzy": "A dizzy mood",
|
||||
|
@ -1,9 +1,10 @@
|
||||
namespace brick {
|
||||
/**
|
||||
* Shows a mood
|
||||
* Show a mood on the brick's screen
|
||||
*/
|
||||
//% weight=90
|
||||
//% blockId=moodShow block="show mood %mood=mood_image_picker"
|
||||
//% help=brick/show-mood
|
||||
//% weight=101 group="Screen" blockGap=8
|
||||
export function showMood(mood: Mood) {
|
||||
if(mood)
|
||||
|
Reference in New Issue
Block a user