fetch pxt-microbit v2.2.30 (#102)
* undo buttonEvent * fetch microbit v2.2.30 Co-authored-by: Amerlander <gitkraken@juriwolf.de>
This commit is contained in:
		@@ -89,8 +89,8 @@
 | 
			
		||||
  "Gesture.FreeFall": "Raised when the board is falling!",
 | 
			
		||||
  "Gesture.LogoDown": "Raised when the logo is downward and the screen is vertical",
 | 
			
		||||
  "Gesture.LogoUp": "Raised when the logo is upward and the screen is vertical",
 | 
			
		||||
  "Gesture.ScreenDown": "Raised when the screen is pointing up and the board is horizontal",
 | 
			
		||||
  "Gesture.ScreenUp": "Raised when the screen is pointing down and the board is horizontal",
 | 
			
		||||
  "Gesture.ScreenDown": "Raised when the screen is pointing down and the board is horizontal",
 | 
			
		||||
  "Gesture.ScreenUp": "Raised when the screen is pointing up and the board is horizontal",
 | 
			
		||||
  "Gesture.Shake": "Raised when shaken",
 | 
			
		||||
  "Gesture.SixG": "Raised when a 6G shock is detected",
 | 
			
		||||
  "Gesture.ThreeG": "Raised when a 3G shock is detected",
 | 
			
		||||
@@ -273,6 +273,8 @@
 | 
			
		||||
  "control.eventValue": "Gets the value of the last event executed on the bus",
 | 
			
		||||
  "control.eventValueId": "Returns the value of a C++ runtime constant",
 | 
			
		||||
  "control.inBackground": "Schedules code that run in the background.",
 | 
			
		||||
  "control.micros": "Gets current time in microseconds. Overflows every ~18 minutes.",
 | 
			
		||||
  "control.millis": "Gets the number of milliseconds elapsed since power on.",
 | 
			
		||||
  "control.onEvent": "Registers an event handler.",
 | 
			
		||||
  "control.panic": "Display specified error code and stop the program.",
 | 
			
		||||
  "control.raiseEvent": "Raises an event in the event bus.",
 | 
			
		||||
@@ -281,6 +283,7 @@
 | 
			
		||||
  "control.raiseEvent|param|value": "Component specific code indicating the cause of the event.",
 | 
			
		||||
  "control.reset": "Resets the BBC micro:bit.",
 | 
			
		||||
  "control.runtimeWarning": "Display warning in the simulator.",
 | 
			
		||||
  "control.waitForEvent": "Blocks the calling thread until the specified event is raised.",
 | 
			
		||||
  "control.waitMicros": "Blocks the current fiber for the given microseconds",
 | 
			
		||||
  "control.waitMicros|param|micros": "number of micro-seconds to wait. eg: 4",
 | 
			
		||||
  "convertToText": "Convert any value to text",
 | 
			
		||||
@@ -467,9 +470,13 @@
 | 
			
		||||
  "music.builtInMelody": "Gets the melody array of a built-in melody.",
 | 
			
		||||
  "music.changeTempoBy": "Change the tempo by the specified amount",
 | 
			
		||||
  "music.changeTempoBy|param|bpm": "The change in beats per minute to the tempo, eg: 20",
 | 
			
		||||
  "music.melodyEditor": "Create a melody with the melody editor.",
 | 
			
		||||
  "music.noteFrequency": "Get the frequency of a note.",
 | 
			
		||||
  "music.noteFrequency|param|name": "the note name, eg: Note.C",
 | 
			
		||||
  "music.onEvent": "Registers code to run on various melody events",
 | 
			
		||||
  "music.playMelody": "Play a melody from the melody editor.",
 | 
			
		||||
  "music.playMelody|param|melody": "- string of up to eight notes [C D E F G A B C5] or rests [-] separated by spaces, which will be played one at a time, ex: \"E D G F B A C5 B \"",
 | 
			
		||||
  "music.playMelody|param|tempo": "- number in beats per minute (bpm), dictating how long each note will play for",
 | 
			
		||||
  "music.playTone": "Plays a tone through pin ``P0`` for the given duration.",
 | 
			
		||||
  "music.playTone|param|frequency": "pitch of the tone to play in Hertz (Hz), eg: Note.C",
 | 
			
		||||
  "music.playTone|param|ms": "tone duration in milliseconds (ms)",
 | 
			
		||||
 
 | 
			
		||||
@@ -79,9 +79,9 @@
 | 
			
		||||
  "Gesture.LogoDown|block": "logo down",
 | 
			
		||||
  "Gesture.LogoUp": "Raised when the logo is upward and the screen is vertical",
 | 
			
		||||
  "Gesture.LogoUp|block": "logo up",
 | 
			
		||||
  "Gesture.ScreenDown": "Raised when the screen is pointing up and the board is horizontal",
 | 
			
		||||
  "Gesture.ScreenDown": "Raised when the screen is pointing down and the board is horizontal",
 | 
			
		||||
  "Gesture.ScreenDown|block": "screen down",
 | 
			
		||||
  "Gesture.ScreenUp": "Raised when the screen is pointing down and the board is horizontal",
 | 
			
		||||
  "Gesture.ScreenUp": "Raised when the screen is pointing up and the board is horizontal",
 | 
			
		||||
  "Gesture.ScreenUp|block": "screen up",
 | 
			
		||||
  "Gesture.Shake": "Raised when shaken",
 | 
			
		||||
  "Gesture.Shake|block": "shake",
 | 
			
		||||
@@ -262,9 +262,11 @@
 | 
			
		||||
  "control.eventValueId|block": "%id",
 | 
			
		||||
  "control.eventValue|block": "event value",
 | 
			
		||||
  "control.inBackground|block": "run in background",
 | 
			
		||||
  "control.millis|block": "millis (ms)",
 | 
			
		||||
  "control.onEvent|block": "on event|from %src=control_event_source_id|with value %value=control_event_value_id",
 | 
			
		||||
  "control.raiseEvent|block": "raise event|from source %src=control_event_source_id|with value %value=control_event_value_id",
 | 
			
		||||
  "control.reset|block": "reset",
 | 
			
		||||
  "control.waitForEvent|block": "wait for event|from %src|with value %value",
 | 
			
		||||
  "control.waitMicros|block": "wait (µs)%micros",
 | 
			
		||||
  "control|block": "control",
 | 
			
		||||
  "convertToText|block": "convert $value=math_number to text",
 | 
			
		||||
@@ -338,8 +340,10 @@
 | 
			
		||||
  "music.beginMelody|block": "start melody %melody=device_builtin_melody| repeating %options",
 | 
			
		||||
  "music.builtInMelody|block": "%melody",
 | 
			
		||||
  "music.changeTempoBy|block": "change tempo by (bpm)|%value",
 | 
			
		||||
  "music.melodyEditor|block": "$melody",
 | 
			
		||||
  "music.noteFrequency|block": "%name",
 | 
			
		||||
  "music.onEvent|block": "music on %value",
 | 
			
		||||
  "music.playMelody|block": "play melody $melody at tempo $tempo|(bpm)",
 | 
			
		||||
  "music.playTone|block": "play|tone %note=device_note|for %duration=device_beat",
 | 
			
		||||
  "music.rest|block": "rest(ms)|%duration=device_beat",
 | 
			
		||||
  "music.ringTone|block": "ring tone (Hz)|%note=device_note",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user