LightDistance (cm) Dial Light Sound Other (V)11 2 3Distance (cm)valuehttp://127.0.0.1:30061/hummingbird/in//Not ConnectedOtherSoundIf connected, adjust sound levelLightDial
ko:Hummingbird _ 번 음을 _ 박자로 연주하기 de:Hummingbird Spiele Note _ für _ Schläge pt:Hummingbird Toque Notas _ por _ Batidas fr:Hummingbird Jouer la note _ pour _ battement(s) nl:Hummingbird Speel Noot _ voor _ Beats zh_CN:Hummingbird 演奏 音阶 _ 于 _ 拍 zh_TW:Hummingbird 演奏 音階 _ 於 _ 拍 ar:Hummingbird تشغيل الموسيقى _ _ dk:Hummingbird Spil tone _ i _ slag he:Hummingbird נגן תו _ במשך _ פעימות es:Hummingbird Emitir un sonido _ por _ pulsos ca:Hummingbird Toca nota _ durant _ temps fi:Hummingbird Soita sävel _ _ iskun ajan sv:Hummingbird Spela not _ _ 600.532160beats60000BPM = tempo 60 * 1000/BPM = BPMS beats per millisecond beats = Duration in ms = BPMS * number of beatshttp://127.0.0.1:30061/hummingbird/out/playnote//1000block for number of seconds
Accelerometer (m/s²)Accelerometer (m/s²) Magnetometer (µT)XX Y ZMagnetometer (µT)http://127.0.0.1:30061/hummingbird/in//
ko:micro:bit 버튼 _ de:micro:bit Knopf _ pt:micro:bit Tecla _ fr:micro:bit Bouton _ nl:micro:bit Knop _ zh_CN:micro:bit 按钮 _ zh_TW:micro:bit 按鈕 _ ar:micro:bit زر _ dk:micro:bit Knap _ he:micro:bit לחצן _ es:micro:bit Pulsador _ ca:micro:bit Botó _ fi:micro:bit Painike _ sv:micro:bit Knapp _ AA B
ko:micro:bit 나침반 센서 de:micro:bit Kompass pt:micro:bit Bússola fr:micro:bit Compas nl:micro:bit Kompas zh_CN:micro:bit 指南针 zh_TW:micro:bit 指南針 ar:micro:bit بوصلة dk:micro:bit Kompas he:micro:bit מצפן es:micro:bit Brujula ca:micro:bit Brúixola fi:micro:bit Kompassi sv:micro:bit Kompass
Screen UpScreen Up Screen Down Tilt Left Tilt Right Logo Up Logo Down Shake
ko:모두 멈추기 de:stoppe alles pt:pare todos fr:stop tout nl:stop alle zh_CN:停止 全部 zh_TW:停止 全部 ar:توقف الكل dk:stop alle he:להפסיק הכל es:detener todo ca:atura tot fi:pysäytä kaikki sv:stop allt
ko:Hummingbird 위치 제어 서보 _ _ ° de:Hummingbird Position Servo _ _ ° pt:Hummingbird Posição do Servo _ _ ° fr:Hummingbird Position Servo _ _ ° nl:Hummingbird Positie-Servo _ _ ° zh_CN:Hummingbird 位置伺服 _ _ ° zh_TW:Hummingbird 位置伺服 _ _ ° ar:Hummingbird موقف محرك سيرفو المؤازر _ _ dk:Hummingbird Positionsservo _ _ ° he:Hummingbird סרוו כיוון _ _ es:Hummingbird Servo de posicion _ _ ° ca:Hummingbird Servo posicional _ _ ° fi:Hummingbird Asentoservo _ _ ° sv:Hummingbird Positionsservo _ _ ° 11 2 3 490180position1.41254/180 Scaling Factorportnumpositionvar realPort = portnum-1; //////////////////////////////////////////////////////////////////////////////// // In order to avoid sending more messages than the app can handle, whenever we // send a message we also save it in a persistent global variable. When the // message is processed in the app, the callback checks if the global variable // still matches what it was changed to. If it was, it deletes the global // variable. Otherwise the message is resent with new data. // // When this block is called it checks if the global value has been set. If it // has, it sends a message. Otherwise it just updates the value and lets the // callback handle it. // We can't run code beforehand to define values so we must check each block // call if they are set. if (window.birdbrain === undefined || window.birdbrain.servos === undefined) { window.birdbrain = window.birdbrain || {}; window.birdbrain.servos = { // By attaching this function to a global variable, it is only // defined once instead of every time this block is called, improving // performance significantly. setServoAngle: function (port, angle) { function callback() { if (window.birdbrain.servos[port] === angle) { delete window.birdbrain.servos[port]; } else { window.birdbrain.servos.setServoAngle(port, window.birdbrain.servos[port]); } } //Create a new XMLHttpRequest object var xhr = new XMLHttpRequest(); var actualPort = port+1; var thisURL = "http://127.0.0.1:30061/hummingbird/out/servo/" + actualPort + "/" + angle; //console.log("thisURL: " + thisURL); xhr.open("GET", thisURL, true); xhr.onload = function (e) { if (xhr.readyState === 4) { if (xhr.status === 200) { callback(); } else { console.error(xhr.statusText); } } }; xhr.onerror = function (e) { console.error(xhr.statusText); }; xhr.send(null); } }; } //var realAngle = Math.floor(ang*1.25); //realAngle = Math.max(Math.min(realAngle,225.0),0.0); if (window.birdbrain.servos[realPort] === undefined) { window.birdbrain.servos.setServoAngle(realPort, position); } window.birdbrain.servos[realPort] = position;0
ko:Hummingbird 회전속도 제어 서보 _ _ % de:Hummingbird Drehung Servo _ _ % pt:Hummingbird Rotação do Servo _ _ % fr:Hummingbird Rotation Servo _ _ % nl:Hummingbird Draai-Servo _ _ % zh_CN:Hummingbird 旋转伺服 _ _ % zh_TW:Hummingbird 旋轉伺服 _ _ % ar:Hummingbird فتحة دوران المحرك المؤازر _ _ dk:Hummingbird Rotationsservo _ _ % he:Hummingbird סרוו סיבובים _ _ % es:Hummingbird Servo de rotacion _ _ % ca:Hummingbird Servo rotacional _ _ % fi:Hummingbird Kiertoservo _ _ % sv:Hummingbird Rotationsservo _ _ % 11 2 3 40100-1010portnumspeedvar realPort = portnum-1; //////////////////////////////////////////////////////////////////////////////// // In order to avoid sending more messages than the app can handle, whenever we // send a message we also save it in a persistent global variable. When the // message is processed in the app, the callback checks if the global variable // still matches what it was changed to. If it was, it deletes the global // variable. Otherwise the message is resent with new data. // // When this block is called it checks if the global value has been set. If it // has, it sends a message. Otherwise it just updates the value and lets the // callback handle it. // We can't run code beforehand to define values so we must check each block // call if they are set. if (window.birdbrain === undefined || window.birdbrain.rotationServos === undefined) { window.birdbrain = window.birdbrain || {}; window.birdbrain.rotationServos = { // By attaching this function to a global variable, it is only // defined once instead of every time this block is called, improving // performance significantly. setServoSpeed: function (port, speed) { function callback() { if (window.birdbrain.rotationServos[port] === speed) { delete window.birdbrain.rotationServos[port]; } else { window.birdbrain.rotationServos.setServoSpeed(port, window.birdbrain.rotationServos[port]); } } //Create a new XMLHttpRequest object var xhr = new XMLHttpRequest(); var actualPort = port+1; var thisURL = "http://127.0.0.1:30061/hummingbird/out/rotation/" + actualPort + "/" + speed; //console.log("thisURL: " + thisURL); xhr.open("GET", thisURL, true); xhr.onload = function (e) { if (xhr.readyState === 4) { if (xhr.status === 200) { callback(); } else { console.error(xhr.statusText); } } }; xhr.onerror = function (e) { console.error(xhr.statusText); }; xhr.send(null); } }; } if (window.birdbrain.rotationServos[realPort] === undefined) { window.birdbrain.rotationServos.setServoSpeed(realPort, speed); } window.birdbrain.rotationServos[realPort] = speed;
ko:Hummingbird LED _ _ % de:Hummingbird LED _ _ % pt:Hummingbird LED _ _ % fr:Hummingbird LED _ _ % nl:Hummingbird LED _ _ % zh_CN:Hummingbird LED _ _ % zh_TW:Hummingbird LED _ _ % ar:Hummingbird ضوء _ _ dk:Hummingbird LED _ _ % he:Hummingbird לד % _ _ es:Hummingbird LED _ _ % ca:Hummingbird LED _ _ % fi:Hummingbird LED _ _ % sv:Hummingbird LED _ _ % 11 2 30100portnum,intensitynum//var hummingbirdAppID = "lfloofocohhfeeoohpokmljiinfmpenj"; var realPort = portnum-1; //////////////////////////////////////////////////////////////////////////////// // In order to avoid sending more messages than the app can handle, whenever we // send a message we also save it in a persistent global variable. When the // message is processed in the app, the callback checks if the global variable // still matches what it was changed to. If it was, it deletes the global // variable. Otherwise the message is resent with new data. // // When this block is called it checks if the global value has been set. If it // has, it sends a message. Otherwise it just updates the value and lets the // callback handle it. // We can't run code beforehand to define values so we must check each block // call if they are set. if (window.birdbrain === undefined || window.birdbrain.LEDs === undefined) { window.birdbrain = window.birdbrain || {}; window.birdbrain.LEDs = { // By attaching this function to a global variable, it is only // defined once instead of every time this block is called, improving // performance significantly. setLEDIntensity: function(port, intensity) { function callback() { if (window.birdbrain.LEDs[port] === intensity) { delete window.birdbrain.LEDs[port]; } else { window.birdbrain.LEDs.setLEDIntensity(port, window.birdbrain.LEDs[port]); } } /* var report = { message:"L".charCodeAt(0), port: port.toString().charCodeAt(0), intensity: intensity }; chrome.runtime.sendMessage(hummingbirdAppID, report, callback); */ //Create a new XMLHttpRequest object var xhr = new XMLHttpRequest(); var actualPort = port+1; var ledURL = "http://127.0.0.1:30061/hummingbird/out/led/" + actualPort + "/" + intensity; xhr.open("GET", ledURL, true); xhr.onload = function (e) { if (xhr.readyState === 4) { if (xhr.status === 200) { callback(); } else { console.error(xhr.statusText); } } }; xhr.onerror = function (e) { console.error(xhr.statusText); }; xhr.send(null); } } } var realIntensity = Math.floor(intensitynum*2.55); realIntensity = Math.max(Math.min(realIntensity,255.0),0.0); if (window.birdbrain.LEDs[realPort] === undefined) { window.birdbrain.LEDs.setLEDIntensity(realPort, realIntensity); } window.birdbrain.LEDs[realPort] = realIntensity;0
ko:Hummingbird 삼색 LED _ 빨강 _ % 초록 _ % 파랑 _ % de:Hummingbird Dreifarben-LED _ R _ % G _ % B _ % pt:Hummingbird LED Tricolor _ R _ % G _ % B _ % fr:Hummingbird Tri-LED _ R _ % G _ % B _ % nl:Hummingbird Tri-LED _ R _ % G _ % B _ % zh_CN:Hummingbird 三色LED _ 红 _ % 绿 _ % 蓝 _ % zh_TW:Hummingbird 三色LED _ 紅 _ % 綠 _ % 藍 _ % ar:Hummingbird ضوء الصمام الثلاثي _ _ _ _ dk:Hummingbird Tri-LED _ R _ % G _ % B _ % he:Hummingbird לד שלושה צבעים % _ R _ % G _ % B _ es:Hummingbird Led tricolor _ R _ % G _ % B _ % ca:Hummingbird Tri-LED _ vermell _ % verd _ % blau _ % fi:Hummingbird Tri-LED _ R _ % G _ % B _ % sv:Hummingbird Tri-LED _ R _ % G _ % B _ % 11 200010001000100portnumrednumgreennumbluenumvar realPort = portnum-1; //////////////////////////////////////////////////////////////////////////////// // In order to avoid sending more messages than the app can handle, whenever we // send a message we also save it in a persistent global variable. When the // message is processed in the app, the callback checks if the global variable // still matches what it was changed to. If it was, it deletes the global // variable. Otherwise the message is resent with new data. // // When this block is called it checks if the global value has been set. If it // has, it sends a message. Otherwise it just updates the value and lets the // callback handle it. // We can't run code beforehand to define values so we must check each block // call if they are set. if (window.birdbrain === undefined || window.birdbrain.triLEDs === undefined) { window.birdbrain = window.birdbrain || {}; window.birdbrain.triLEDs = { // By attaching this function to a global variable, it is only // defined once instead of every time this block is called, improving // performance significantly. setLEDIntensities: function(port, intensities) { function callback() { if (JSON.stringify(window.birdbrain.triLEDs[port]) === JSON.stringify(intensities)) { delete window.birdbrain.triLEDs[port]; } else { window.birdbrain.triLEDs.setLEDIntensities(port, window.birdbrain.triLEDs[port]); } } //Create a new XMLHttpRequest object var xhr = new XMLHttpRequest(); var actualPort = port+1; /* Note RGB: red: intensities[0], green: intensities[1], blue: intensities[2] */ var thisURL = "http://127.0.0.1:30061/hummingbird/out/triled/" + actualPort + "/" + intensities[0] + "/" + intensities[1] + "/" + intensities[2]; //console.log("thisURL: " + thisURL); xhr.open("GET", thisURL, true); xhr.onload = function (e) { if (xhr.readyState === 4) { if (xhr.status === 200) { callback(); } else { console.error(xhr.statusText); } } }; xhr.onerror = function (e) { console.error(xhr.statusText); }; xhr.send(null); } } } var realIntensities = [rednum, greennum, bluenum].map(function(intensity) { return Math.floor(Math.max(Math.min(intensity*2.55, 255), 0)); }); if (window.birdbrain.triLEDs[realPort] === undefined) { window.birdbrain.triLEDs.setLEDIntensities(realPort, realIntensities); } window.birdbrain.triLEDs[realPort] = realIntensities; 0
ko:micro:bit 출력 _ de:micro:bit Drucke _ pt:micro:bit Imprimir _ fr:micro:bit Imprimer _ nl:micro:bit Schrijf _ zh_CN:micro:bit 打印 _ zh_TW:micro:bit 打印 _ ar:micro:bit طباعة _ dk:micro:bit Vis _ he:micro:bit הדפס _ es:micro:bit Imprimir _ ca:micro:bit Escriu _ fi:micro:bit Näytä teksti _ sv:micro:bit Visa text _ Hello
ko:micro:bit 보이기 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ de:micro:bit LED Anzeige _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pt:micro:bit Visor _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fr:micro:bit Display _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nl:micro:bit Scherm _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ zh_CN:micro:bit 显示 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ zh_TW:micro:bit 顯示 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ar:micro:bit عرض _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dk:micro:bit Display _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ he:micro:bit מסך _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ es:micro:bit Monitor _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ca:micro:bit Pantalla _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fi:micro:bit Näytä _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ sv:micro:bit Skärm _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse