[{"data":1,"prerenderedAt":3849},["ShallowReactive",2],{"tutorial:\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective":3,"tutorial-steps:\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective":1349,"kit-\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective":2318,"key-words-glossary":3287,"glossary":3662},{"id":4,"title":5,"body":6,"description":1328,"draft":1331,"duration":1332,"extension":1333,"image":1334,"kit":1335,"language":1339,"level":1340,"meta":1341,"navigation":1342,"path":1343,"pdf":1344,"platform":1345,"seo":1346,"stem":1347,"youtube":1328,"__hash__":1348},"tutorials\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002Findex.md","Environment Detective: Exploring Our World with micro:bit",{"type":7,"value":8,"toc":1327},"minimark",[9],[10,11,12,98,104,111,179,256,397,609,754,1039,1078,1157,1209],"tutorial-steps",{},[13,14,16,20,29,32,56,64,95],"step",{"title":15},"Overview",[17,18,19],"p",{},"Ever wondered how technology can help us understand the world around us?",[17,21,22,23,28],{},"In this project, you are going to become an environment detective using your ",[24,25,27],"g",{"slug":26},"micro-bit","micro:bit"," and its built-in sensors.",[17,30,31],{},"Just like your senses help you explore the world, the micro:bit can tell you:",[33,34,35,43,50],"ul",{},[36,37,38,39],"li",{},"How warm or cold it is using its ",[24,40,42],{"slug":41},"temperature-sensor","temperature sensor",[36,44,45,46],{},"How bright or dark it is using its ",[24,47,49],{"slug":48},"light-sensor","light sensor",[36,51,52,53],{},"Which direction you are facing using its ",[24,54,55],{"slug":55},"compass",[17,57,58,59,63],{},"You will make the readings appear on the micro:bit’s ",[24,60,62],{"slug":61},"led-matrix","LED matrix",".",[65,66,69,75],"callout",{"color":67,"icon":68},"green","🎯",[17,70,71],{},[72,73,74],"strong",{},"What you'll learn",[33,76,77,80,83,86,89,92],{},[36,78,79],{},"Read the temperature using the micro:bit’s temperature sensor",[36,81,82],{},"Use the LED matrix to show numbers, pictures and letters",[36,84,85],{},"Detect light levels and make the micro:bit react",[36,87,88],{},"Use the compass to find a direction",[36,90,91],{},"Use buttons and a shake gesture to control your code",[36,93,94],{},"Use blocks based on Python code",[17,96,97],{},"Are you ready? Let’s begin our detective adventure!",[13,99,101],{"title":100},"What you'll need",[102,103],"what-youll-need",{},[13,105,107],{"title":106},"Key words",[108,109],"key-words",{"terms":110},"micro-bit,temperature-sensor,light-sensor,compass,led-matrix,variable,if-statement,comparison-operators",[13,112,114,117,162,165,172],{"title":113},"Set up EduBlocks",[17,115,116],{},"First, let’s create a new EduBlocks project.",[118,119,120,123,133,139,144,150,157],"ol",{},[36,121,122],{},"Open your favourite web browser. Google Chrome or Microsoft Edge works well.",[36,124,125,126,63],{},"Go to ",[127,128,132],"a",{"href":129,"rel":130},"https:\u002F\u002Fapp.edublocks.org",[131],"nofollow","app.edublocks.org",[36,134,135,136,63],{},"Find ",[72,137,138],{},"Create New Project",[36,140,141,142,63],{},"Select ",[72,143,27],{},[36,145,146,147,63],{},"Name your project ",[72,148,149],{},"Environment Detective",[36,151,152,153,156],{},"Make sure ",[72,154,155],{},"Blocks"," is selected as the project type.",[36,158,141,159,63],{},[72,160,161],{},"Create",[17,163,164],{},"The EduBlocks micro:bit editor will now open.",[17,166,167],{},[168,169],"img",{"alt":170,"src":171},"Creating a new micro:bit project in EduBlocks","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002FProjectSetup.webp",[65,173,176],{"color":174,"icon":175},"gray","💡",[17,177,178],{},"EduBlocks lets you build Python code using colourful blocks. The blocks snap together and help you see how the finished Python code is organised.",[13,180,182,185,238,241,247],{"title":181},"Prepare the code area",[17,183,184],{},"We need to import the micro:bit tools, prepare the compass and add a loop that keeps checking the sensors.",[118,186,187,193,198,210,215,221,225,230],{},[36,188,189,190,63],{},"Open ",[72,191,192],{},"Basic",[36,194,141,195,63],{},[72,196,197],{},"Imports",[36,199,200,201,205,206,209],{},"Drag a ",[202,203,204],"code",{},"from microbit import *"," block onto the ",[202,207,208],{},"# Start code here"," block.",[36,211,189,212,63],{},[72,213,214],{},"Compass",[36,216,200,217,220],{},[202,218,219],{},"compass.calibrate()"," block underneath the import block.",[36,222,189,223,63],{},[72,224,192],{},[36,226,141,227,63],{},[72,228,229],{},"Loops",[36,231,200,232,235,236,63],{},[202,233,234],{},"while True:"," block underneath ",[202,237,219],{},[17,239,240],{},"Your starting code should look like this:",[17,242,243],{},[168,244],{"alt":245,"src":246},"The EduBlocks coding area with the import, compass calibration and while loop","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002FCodeArea.webp",[65,248,250],{"color":174,"icon":249},"🔁",[17,251,252,253,255],{},"The ",[202,254,234],{}," block creates a loop. Everything placed inside it will keep running while the micro:bit is switched on.",[13,257,259,262,362,365,371,374,391],{"title":258},"Sense the temperature",[17,260,261],{},"First, we will make the micro:bit display the temperature when you shake it.",[118,263,264,268,273,282,287,301,306,312,322,326,331,341,350,354],{},[36,265,189,266,63],{},[72,267,192],{},[36,269,141,270,63],{},[72,271,272],{},"Logic",[36,274,275,276,279,280,209],{},"Drag an ",[202,277,278],{},"if True:"," block inside the ",[202,281,234],{},[36,283,189,284,63],{},[72,285,286],{},"Accelerometer",[36,288,289,290,293,294,297,298,209],{},"Drag ",[202,291,292],{},"accelerometer.was_gesture(\"shake\")"," onto the ",[202,295,296],{},"True"," section of the ",[202,299,300],{},"if",[36,302,189,303,63],{},[72,304,305],{},"Display",[36,307,289,308,311],{},[202,309,310],{},"display.scroll(0)"," inside the shake block.",[36,313,314,315,318,319,63],{},"Change the ",[202,316,317],{},"0"," to ",[202,320,321],{},"temperature()",[36,323,189,324,63],{},[72,325,192],{},[36,327,141,328,63],{},[72,329,330],{},"Statements",[36,332,333,334,337,338,63],{},"Add ",[202,335,336],{},"sleep(1000)"," underneath ",[202,339,340],{},"display.scroll(temperature())",[36,342,343,344,318,347,63],{},"Change ",[202,345,346],{},"1000",[202,348,349],{},"2000",[36,351,189,352,63],{},[72,353,305],{},[36,355,333,356,337,359,63],{},[202,357,358],{},"display.clear()",[202,360,361],{},"sleep(2000)",[17,363,364],{},"Your code should look like this:",[17,366,367],{},[168,368],{"alt":369,"src":370},"The EduBlocks code that displays the temperature after a shake","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002FS1_TemperatureSensing.webp",[17,372,373],{},"Here’s what this bit of code is doing:",[33,375,376,379,382,385,388],{},[36,377,378],{},"The micro:bit waits until it detects a shake.",[36,380,381],{},"It reads the temperature.",[36,383,384],{},"It scrolls the temperature across the LED matrix.",[36,386,387],{},"It waits for two seconds.",[36,389,390],{},"It clears the display.",[65,392,394],{"color":67,"icon":393},"🌡️",[17,395,396],{},"The micro:bit displays temperature in degrees Celsius.",[13,398,400,403,477,480,485,490,561,564,570,573,590,603],{"title":399},"Sense the light level",[17,401,402],{},"Next, we will use button A to check whether the room is dark.",[118,404,405,409,413,419,424,432,437,444,452,460,469],{},[36,406,189,407,63],{},[72,408,192],{},[36,410,141,411,63],{},[72,412,272],{},[36,414,415,416,418],{},"Add another ",[202,417,278],{}," block underneath the whole temperature section.",[36,420,189,421,63],{},[72,422,423],{},"Buttons",[36,425,289,426,293,429,431],{},[202,427,428],{},"button_a.was_pressed()",[202,430,296],{}," section.",[36,433,415,434,436],{},[202,435,278],{}," block inside the button A block.",[36,438,189,439,441,442,63],{},[72,440,192],{},", then ",[72,443,272],{},[36,445,200,446,449,450,63],{},[202,447,448],{},"0 == 0"," comparison onto ",[202,451,296],{},[36,453,343,454,318,457,63],{},[202,455,456],{},"==",[202,458,459],{},"\u003C",[36,461,333,462,465,466,468],{},[202,463,464],{},"display.read_light_level()"," before the ",[202,467,459],{}," symbol.",[36,470,471,472,318,474,63],{},"Change the second ",[202,473,317],{},[202,475,476],{},"100",[17,478,479],{},"Your comparison should now say:",[17,481,482],{},[202,483,484],{},"display.read_light_level() \u003C 100",[486,487,489],"h3",{"id":488},"show-a-picture-when-it-is-dark","Show a picture when it is dark",[118,491,492,496,502,512,520,526,532,536,543,549,554],{},[36,493,189,494,63],{},[72,495,305],{},[36,497,333,498,501],{},[202,499,500],{},"display.show(10)"," inside the light-level check.",[36,503,504,505,508,509,63],{},"Add an ",[202,506,507],{},"Image.HEART"," block to replace ",[202,510,511],{},"10",[36,513,343,514,318,517,63],{},[202,515,516],{},"HEART",[202,518,519],{},"HAPPY",[36,521,189,522,441,524,63],{},[72,523,192],{},[72,525,272],{},[36,527,504,528,531],{},[202,529,530],{},"else:"," block underneath the light-level check.",[36,533,189,534,63],{},[72,535,305],{},[36,537,333,538,540,541,63],{},[202,539,358],{}," inside ",[202,542,530],{},[36,544,189,545,441,547,63],{},[72,546,192],{},[72,548,330],{},[36,550,333,551,553],{},[202,552,336],{}," underneath the light section.",[36,555,343,556,318,558,63],{},[202,557,346],{},[202,559,560],{},"500",[17,562,563],{},"Your light-sensing code should look like this:",[17,565,566],{},[168,567],{"alt":568,"src":569},"The EduBlocks code that shows a happy face when the light level is below 100","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002FS2_LightSensing.webp",[17,571,572],{},"When you press button A:",[33,574,575,578,584],{},[36,576,577],{},"The micro:bit checks the light level.",[36,579,580,581,583],{},"If the light level is below ",[202,582,476],{},", it shows a happy face.",[36,585,586,587,589],{},"If the light level is ",[202,588,476],{}," or higher, it clears the display.",[17,591,592,593,597,598,602],{},"The code uses an ",[24,594,596],{"slug":595},"if-statement","if statement"," and a ",[24,599,601],{"slug":600},"comparison-operators","comparison operator"," to make this decision.",[65,604,606],{"color":174,"icon":605},"🔦",[17,607,608],{},"Cover the micro:bit with your hand and press button A. Then move it somewhere brighter and try again.",[13,610,612,615,679,681,687,696,748],{"title":611},"Build the compass code",[17,613,614],{},"Now we will use button B to display the compass direction as a number.",[118,616,617,621,625,630,634,642,646,651,655,662,668,673],{},[36,618,189,619,63],{},[72,620,192],{},[36,622,141,623,63],{},[72,624,272],{},[36,626,415,627,629],{},[202,628,278],{}," block underneath the whole button A section.",[36,631,189,632,63],{},[72,633,423],{},[36,635,289,636,639,640,63],{},[202,637,638],{},"button_b.was_pressed()"," onto ",[202,641,296],{},[36,643,189,644,63],{},[72,645,305],{},[36,647,333,648,650],{},[202,649,310],{}," inside the button B block.",[36,652,189,653,63],{},[72,654,214],{},[36,656,289,657,293,660,63],{},[202,658,659],{},"compass.heading()",[202,661,317],{},[36,663,189,664,441,666,63],{},[72,665,192],{},[72,667,330],{},[36,669,333,670,672],{},[202,671,336],{}," underneath the display block.",[36,674,343,675,318,677,63],{},[202,676,346],{},[202,678,560],{},[17,680,364],{},[17,682,683],{},[168,684],{"alt":685,"src":686},"The EduBlocks code that displays the compass heading as a number","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002FS3_CompassSensingEasy.webp",[17,688,689,690,692,693,63],{},"When you press button B, the micro:bit will display a number between ",[202,691,317],{}," and ",[202,694,695],{},"359",[697,698,699,713],"table",{},[700,701,702],"thead",{},[703,704,705,709],"tr",{},[706,707,708],"th",{},"Direction",[706,710,712],{"align":711},"right","Compass heading",[714,715,716,724,732,740],"tbody",{},[703,717,718,722],{},[719,720,721],"td",{},"North",[719,723,317],{"align":711},[703,725,726,729],{},[719,727,728],{},"East",[719,730,731],{"align":711},"90",[703,733,734,737],{},[719,735,736],{},"South",[719,738,739],{"align":711},"180",[703,741,742,745],{},[719,743,744],{},"West",[719,746,747],{"align":711},"270",[65,749,751],{"color":174,"icon":750},"🧭",[17,752,753],{},"The compass works like a circle. After 359 degrees, it returns to 0 degrees.",[13,755,757,760,777,781,832,835,840,850,854,925,928,933,937,967,971,992,996,1019,1022,1028],{"title":756},"Show compass letters",[17,758,759],{},"Numbers are useful, but letters are easier to recognise quickly.",[17,761,762,763,766,767,766,770,773,774,63],{},"We will now create a second button B section that shows ",[72,764,765],{},"N",", ",[72,768,769],{},"E",[72,771,772],{},"S"," or ",[72,775,776],{},"W",[486,778,780],{"id":779},"create-the-direction-variable","Create the direction variable",[118,782,783,788,792,799,804,809,815,820,824],{},[36,784,415,785,787],{},[202,786,278],{}," block underneath the compass-number section.",[36,789,189,790,63],{},[72,791,423],{},[36,793,333,794,796,797,431],{},[202,795,638],{}," to the ",[202,798,296],{},[36,800,189,801,63],{},[72,802,803],{},"Variables",[36,805,141,806,63],{},[72,807,808],{},"Create a Variable",[36,810,811,812,63],{},"Name the variable ",[202,813,814],{},"direction",[36,816,333,817,650],{},[202,818,819],{},"direction = 0",[36,821,189,822,63],{},[72,823,214],{},[36,825,826,827,829,830,63],{},"Replace ",[202,828,317],{}," with ",[202,831,659],{},[17,833,834],{},"The block should now say:",[17,836,837],{},[202,838,839],{},"direction = compass.heading()",[17,841,842,843,846,847,849],{},"A ",[24,844,845],{"slug":845},"variable"," stores information that can change. In this project, the ",[202,848,814],{}," variable stores the current compass heading.",[486,851,853],{"id":852},"add-the-north-check","Add the north check",[118,855,856,862,868,877,885,890,896,901,906,910,918],{},[36,857,189,858,441,860,63],{},[72,859,192],{},[72,861,272],{},[36,863,504,864,235,866,63],{},[202,865,278],{},[202,867,839],{},[36,869,870,871,874,875,63],{},"Add a ",[202,872,873],{},"True and True"," block onto ",[202,876,296],{},[36,878,343,879,318,882,63],{},[202,880,881],{},"and",[202,883,884],{},"or",[36,886,887,888,63],{},"Add a comparison block to the first ",[202,889,296],{},[36,891,892,893,63],{},"Build the comparison ",[202,894,895],{},"direction > 315",[36,897,898,899,63],{},"Add another comparison to the second ",[202,900,296],{},[36,902,892,903,63],{},[202,904,905],{},"direction \u003C 45",[36,907,189,908,63],{},[72,909,305],{},[36,911,333,912,915,916,209],{},[202,913,914],{},"display.show(\"Hello\")"," inside the ",[202,917,300],{},[36,919,343,920,318,923,63],{},[202,921,922],{},"Hello",[202,924,765],{},[17,926,927],{},"The first check should now say:",[17,929,930],{},[202,931,932],{},"if direction > 315 or direction \u003C 45:",[486,934,936],{"id":935},"add-east","Add east",[118,938,939,945,951,956,961],{},[36,940,189,941,441,943,63],{},[72,942,192],{},[72,944,272],{},[36,946,504,947,950],{},[202,948,949],{},"elif True:"," block underneath the north section.",[36,952,892,953,63],{},[202,954,955],{},"direction \u003C 135",[36,957,333,958,960],{},[202,959,914],{}," inside it.",[36,962,343,963,318,965,63],{},[202,964,922],{},[202,966,769],{},[486,968,970],{"id":969},"add-south","Add south",[118,972,973,977,982,986],{},[36,974,415,975,209],{},[202,976,949],{},[36,978,892,979,63],{},[202,980,981],{},"direction \u003C 225",[36,983,333,984,960],{},[202,985,914],{},[36,987,343,988,318,990,63],{},[202,989,922],{},[202,991,772],{},[486,993,995],{"id":994},"add-west","Add west",[118,997,998,1003,1007,1013],{},[36,999,504,1000,1002],{},[202,1001,530],{}," block underneath the south section.",[36,1004,333,1005,960],{},[202,1006,914],{},[36,1008,343,1009,318,1011,63],{},[202,1010,922],{},[202,1012,776],{},[36,1014,333,1015,1018],{},[202,1016,1017],{},"sleep(500)"," underneath the completed compass section.",[17,1020,1021],{},"Your finished compass code should look like this:",[17,1023,1024],{},[168,1025],{"alt":1026,"src":1027},"The finished EduBlocks compass code showing N, E, S or W","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002FS4_CompassSensingTricky.webp",[65,1029,1031,1036],{"color":174,"icon":1030},"🍕",[17,1032,1033],{},[72,1034,1035],{},"How your code decides",[17,1037,1038],{},"Imagine the compass is a pizza cut into four slices. The code checks which slice the compass number has landed in, then shows the letter for that direction.",[13,1040,1042,1045,1072],{"title":1041},"Download your code",[17,1043,1044],{},"Your environment detector is ready to transfer to the micro:bit.",[118,1046,1047,1050,1056,1059,1062,1066],{},[36,1048,1049],{},"Connect the micro:bit to your computer using the micro USB cable.",[36,1051,1052,1053,63],{},"In EduBlocks, select ",[72,1054,1055],{},"Connect",[36,1057,1058],{},"Follow the instructions on the screen to pair your micro:bit.",[36,1060,1061],{},"If your browser asks for permission, choose the micro:bit from the list.",[36,1063,141,1064,63],{},[72,1065,1055],{},[36,1067,141,1068,1071],{},[72,1069,1070],{},"Flash"," to send the code to the micro:bit.",[65,1073,1075],{"color":174,"icon":1074},"🔌",[17,1076,1077],{},"If EduBlocks cannot find the micro:bit, try another USB cable. Some cables can only charge devices and cannot transfer code.",[13,1079,1081,1084,1087,1091,1102,1106,1122,1126,1140,1152],{"title":1080},"Test your environment detector",[17,1082,1083],{},"When the micro:bit first starts, it may ask you to tilt it in different directions until all the LEDs have lit up.",[17,1085,1086],{},"This is called calibrating. It helps the compass work out which direction is north.",[486,1088,1090],{"id":1089},"test-the-temperature","Test the temperature",[118,1092,1093,1096,1099],{},[36,1094,1095],{},"Shake the micro:bit.",[36,1097,1098],{},"Watch the temperature scroll across the LED matrix.",[36,1100,1101],{},"Move to a different room or go outside and try again.",[486,1103,1105],{"id":1104},"test-the-light-level","Test the light level",[118,1107,1108,1111,1114,1119],{},[36,1109,1110],{},"Cover the micro:bit with your hand.",[36,1112,1113],{},"Press button A.",[36,1115,1116,1117,63],{},"A happy face should appear if the light level is below ",[202,1118,476],{},[36,1120,1121],{},"Move the micro:bit somewhere brighter and press button A again.",[486,1123,1125],{"id":1124},"test-the-compass","Test the compass",[118,1127,1128,1131,1134,1137],{},[36,1129,1130],{},"Face one direction.",[36,1132,1133],{},"Press button B.",[36,1135,1136],{},"Look at the letter on the LED matrix.",[36,1138,1139],{},"Turn around and press button B again.",[17,1141,1142,1143,766,1145,766,1147,773,1149,1151],{},"You should see ",[72,1144,765],{},[72,1146,769],{},[72,1148,772],{},[72,1150,776],{},", depending on which direction the micro:bit is facing.",[65,1153,1154],{"color":174,"icon":175},[17,1155,1156],{},"If the compass gives an unexpected answer, calibrate it again and move away from large metal objects or magnets.",[13,1158,1160],{"title":1159},"Try it yourself",[1161,1162,1163,1168,1171,1180,1189,1192,1203,1206],"try-it",{},[17,1164,1165],{},[72,1166,1167],{},"Challenge: Build an environment warning system",[17,1169,1170],{},"Can you make the micro:bit warn you when the room gets too cold?",[17,1172,1173,1174,1177,1178,209],{},"Inside the ",[202,1175,1176],{},"if accelerometer.was_gesture(\"shake\"):"," section, add another ",[202,1179,300],{},[17,1181,1182,1183,1185,1186,63],{},"Make it check whether ",[202,1184,321],{}," is below a number you choose, such as ",[202,1187,1188],{},"15",[17,1190,1191],{},"If it is too cold, make the micro:bit show:",[33,1193,1194,1197,1200],{},[36,1195,1196],{},"A sad face",[36,1198,1199],{},"A snowflake",[36,1201,1202],{},"A warning picture of your own",[17,1204,1205],{},"Can you create another warning for the light sensor?",[17,1207,1208],{},"Try changing the button A code so the micro:bit shows a warning picture when the room gets too dark.",[13,1210,1212,1321],{"title":1211},"Stuck? Quick fixes",[697,1213,1214,1224],{},[700,1215,1216],{},[703,1217,1218,1221],{},[706,1219,1220],{},"Problem",[706,1222,1223],{},"Try this",[714,1225,1226,1240,1248,1258,1266,1289,1313],{},[703,1227,1228,1231],{},[719,1229,1230],{},"Nothing happens when I shake the micro:bit",[719,1232,1233,1234,1236,1237,1239],{},"Check that ",[202,1235,340],{}," is inside ",[202,1238,1176],{},". Give the micro:bit one firm, clear shake.",[703,1241,1242,1245],{},[719,1243,1244],{},"The temperature looks too warm",[719,1246,1247],{},"This is normal. The sensor is on the micro:bit itself, so it can warm up after the board has been switched on or held in your hand.",[703,1249,1250,1253],{},[719,1251,1252],{},"The happy face does not appear",[719,1254,1255,1256,63],{},"Cover the micro:bit with your hand. Check that your comparison says ",[202,1257,484],{},[703,1259,1260,1263],{},[719,1261,1262],{},"Button B shows the wrong direction",[719,1264,1265],{},"Complete the compass calibration by tilting the micro:bit until every LED has lit up.",[703,1267,1268,1271],{},[719,1269,1270],{},"The compass always shows W",[719,1272,1273,1274,692,1277,1280,1281,1284,1285,1288],{},"Check the numbers in your comparisons: ",[202,1275,1276],{},"315",[202,1278,1279],{},"45"," for north, ",[202,1282,1283],{},"135"," for east and ",[202,1286,1287],{},"225"," for south.",[703,1290,1291,1294],{},[719,1292,1293],{},"I cannot find a block",[719,1295,1296,1297,766,1299,766,1301,766,1303,766,1305,766,1307,766,1309,773,1311,63],{},"Check the correct category: ",[72,1298,192],{},[72,1300,305],{},[72,1302,423],{},[72,1304,286],{},[72,1306,214],{},[72,1308,272],{},[72,1310,803],{},[72,1312,330],{},[703,1314,1315,1318],{},[719,1316,1317],{},"My code will not download",[719,1319,1320],{},"Try another USB cable or USB socket. Check that the micro:bit is paired with EduBlocks.",[65,1322,1324],{"color":67,"icon":1323},"🐛",[17,1325,1326],{},"Don’t worry if it doesn’t work first time. That’s how coding works! Check one block at a time and compare it with the pictures.",{"title":1328,"searchDepth":1329,"depth":1329,"links":1330},"",2,[],false,"45 mins","md","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002FEnvironmentDetectiveCover.webp",[27,1336,1337,1338],"EduBlocks coding editor","Micro USB cable","Battery pack (optional)","edublocks","Beginner",{},true,"\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective","\u002Flearn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002Fenvironment-detective.pdf","microbit",{"title":5,"description":1328},"learn\u002Fmicrobit\u002Fedublocks\u002Fenvironment-detective\u002Findex","GiWaux28tEqKkP1cAIhEDm9ErqrjkAOEtFpVDSEGgmw",{"id":4,"title":5,"body":1350,"description":1328,"draft":1331,"duration":1332,"extension":1333,"image":1334,"kit":2315,"language":1339,"level":1340,"meta":2316,"navigation":1342,"path":1343,"pdf":1344,"platform":1345,"seo":2317,"stem":1347,"youtube":1328,"__hash__":1348},{"type":7,"value":1351,"toc":2313},[1352],[10,1353,1354,1404,1408,1412,1455,1509,1609,1767,1881,2103,2131,2187,2223],{},[13,1355,1356,1358,1362,1364,1378,1382,1402],{"title":15},[17,1357,19],{},[17,1359,22,1360,28],{},[24,1361,27],{"slug":26},[17,1363,31],{},[33,1365,1366,1370,1374],{},[36,1367,38,1368],{},[24,1369,42],{"slug":41},[36,1371,45,1372],{},[24,1373,49],{"slug":48},[36,1375,52,1376],{},[24,1377,55],{"slug":55},[17,1379,58,1380,63],{},[24,1381,62],{"slug":61},[65,1383,1384,1388],{"color":67,"icon":68},[17,1385,1386],{},[72,1387,74],{},[33,1389,1390,1392,1394,1396,1398,1400],{},[36,1391,79],{},[36,1393,82],{},[36,1395,85],{},[36,1397,88],{},[36,1399,91],{},[36,1401,94],{},[17,1403,97],{},[13,1405,1406],{"title":100},[102,1407],{},[13,1409,1410],{"title":106},[108,1411],{"terms":110},[13,1413,1414,1416,1445,1447,1451],{"title":113},[17,1415,116],{},[118,1417,1418,1420,1425,1429,1433,1437,1441],{},[36,1419,122],{},[36,1421,125,1422,63],{},[127,1423,132],{"href":129,"rel":1424},[131],[36,1426,135,1427,63],{},[72,1428,138],{},[36,1430,141,1431,63],{},[72,1432,27],{},[36,1434,146,1435,63],{},[72,1436,149],{},[36,1438,152,1439,156],{},[72,1440,155],{},[36,1442,141,1443,63],{},[72,1444,161],{},[17,1446,164],{},[17,1448,1449],{},[168,1450],{"alt":170,"src":171},[65,1452,1453],{"color":174,"icon":175},[17,1454,178],{},[13,1456,1457,1459,1497,1499,1503],{"title":181},[17,1458,184],{},[118,1460,1461,1465,1469,1475,1479,1483,1487,1491],{},[36,1462,189,1463,63],{},[72,1464,192],{},[36,1466,141,1467,63],{},[72,1468,197],{},[36,1470,200,1471,205,1473,209],{},[202,1472,204],{},[202,1474,208],{},[36,1476,189,1477,63],{},[72,1478,214],{},[36,1480,200,1481,220],{},[202,1482,219],{},[36,1484,189,1485,63],{},[72,1486,192],{},[36,1488,141,1489,63],{},[72,1490,229],{},[36,1492,200,1493,235,1495,63],{},[202,1494,234],{},[202,1496,219],{},[17,1498,240],{},[17,1500,1501],{},[168,1502],{"alt":245,"src":246},[65,1504,1505],{"color":174,"icon":249},[17,1506,252,1507,255],{},[202,1508,234],{},[13,1510,1511,1513,1585,1587,1591,1593,1605],{"title":258},[17,1512,261],{},[118,1514,1515,1519,1523,1529,1533,1541,1545,1549,1555,1559,1563,1569,1575,1579],{},[36,1516,189,1517,63],{},[72,1518,192],{},[36,1520,141,1521,63],{},[72,1522,272],{},[36,1524,275,1525,279,1527,209],{},[202,1526,278],{},[202,1528,234],{},[36,1530,189,1531,63],{},[72,1532,286],{},[36,1534,289,1535,293,1537,297,1539,209],{},[202,1536,292],{},[202,1538,296],{},[202,1540,300],{},[36,1542,189,1543,63],{},[72,1544,305],{},[36,1546,289,1547,311],{},[202,1548,310],{},[36,1550,314,1551,318,1553,63],{},[202,1552,317],{},[202,1554,321],{},[36,1556,189,1557,63],{},[72,1558,192],{},[36,1560,141,1561,63],{},[72,1562,330],{},[36,1564,333,1565,337,1567,63],{},[202,1566,336],{},[202,1568,340],{},[36,1570,343,1571,318,1573,63],{},[202,1572,346],{},[202,1574,349],{},[36,1576,189,1577,63],{},[72,1578,305],{},[36,1580,333,1581,337,1583,63],{},[202,1582,358],{},[202,1584,361],{},[17,1586,364],{},[17,1588,1589],{},[168,1590],{"alt":369,"src":370},[17,1592,373],{},[33,1594,1595,1597,1599,1601,1603],{},[36,1596,378],{},[36,1598,381],{},[36,1600,384],{},[36,1602,387],{},[36,1604,390],{},[65,1606,1607],{"color":67,"icon":393},[17,1608,396],{},[13,1610,1611,1613,1671,1673,1677,1679,1737,1739,1743,1745,1757,1763],{"title":399},[17,1612,402],{},[118,1614,1615,1619,1623,1627,1631,1637,1641,1647,1653,1659,1665],{},[36,1616,189,1617,63],{},[72,1618,192],{},[36,1620,141,1621,63],{},[72,1622,272],{},[36,1624,415,1625,418],{},[202,1626,278],{},[36,1628,189,1629,63],{},[72,1630,423],{},[36,1632,289,1633,293,1635,431],{},[202,1634,428],{},[202,1636,296],{},[36,1638,415,1639,436],{},[202,1640,278],{},[36,1642,189,1643,441,1645,63],{},[72,1644,192],{},[72,1646,272],{},[36,1648,200,1649,449,1651,63],{},[202,1650,448],{},[202,1652,296],{},[36,1654,343,1655,318,1657,63],{},[202,1656,456],{},[202,1658,459],{},[36,1660,333,1661,465,1663,468],{},[202,1662,464],{},[202,1664,459],{},[36,1666,471,1667,318,1669,63],{},[202,1668,317],{},[202,1670,476],{},[17,1672,479],{},[17,1674,1675],{},[202,1676,484],{},[486,1678,489],{"id":488},[118,1680,1681,1685,1689,1695,1701,1707,1711,1715,1721,1727,1731],{},[36,1682,189,1683,63],{},[72,1684,305],{},[36,1686,333,1687,501],{},[202,1688,500],{},[36,1690,504,1691,508,1693,63],{},[202,1692,507],{},[202,1694,511],{},[36,1696,343,1697,318,1699,63],{},[202,1698,516],{},[202,1700,519],{},[36,1702,189,1703,441,1705,63],{},[72,1704,192],{},[72,1706,272],{},[36,1708,504,1709,531],{},[202,1710,530],{},[36,1712,189,1713,63],{},[72,1714,305],{},[36,1716,333,1717,540,1719,63],{},[202,1718,358],{},[202,1720,530],{},[36,1722,189,1723,441,1725,63],{},[72,1724,192],{},[72,1726,330],{},[36,1728,333,1729,553],{},[202,1730,336],{},[36,1732,343,1733,318,1735,63],{},[202,1734,346],{},[202,1736,560],{},[17,1738,563],{},[17,1740,1741],{},[168,1742],{"alt":568,"src":569},[17,1744,572],{},[33,1746,1747,1749,1753],{},[36,1748,577],{},[36,1750,580,1751,583],{},[202,1752,476],{},[36,1754,586,1755,589],{},[202,1756,476],{},[17,1758,592,1759,597,1761,602],{},[24,1760,596],{"slug":595},[24,1762,601],{"slug":600},[65,1764,1765],{"color":174,"icon":605},[17,1766,608],{},[13,1768,1769,1771,1829,1831,1835,1841,1877],{"title":611},[17,1770,614],{},[118,1772,1773,1777,1781,1785,1789,1795,1799,1803,1807,1813,1819,1823],{},[36,1774,189,1775,63],{},[72,1776,192],{},[36,1778,141,1779,63],{},[72,1780,272],{},[36,1782,415,1783,629],{},[202,1784,278],{},[36,1786,189,1787,63],{},[72,1788,423],{},[36,1790,289,1791,639,1793,63],{},[202,1792,638],{},[202,1794,296],{},[36,1796,189,1797,63],{},[72,1798,305],{},[36,1800,333,1801,650],{},[202,1802,310],{},[36,1804,189,1805,63],{},[72,1806,214],{},[36,1808,289,1809,293,1811,63],{},[202,1810,659],{},[202,1812,317],{},[36,1814,189,1815,441,1817,63],{},[72,1816,192],{},[72,1818,330],{},[36,1820,333,1821,672],{},[202,1822,336],{},[36,1824,343,1825,318,1827,63],{},[202,1826,346],{},[202,1828,560],{},[17,1830,364],{},[17,1832,1833],{},[168,1834],{"alt":685,"src":686},[17,1836,689,1837,692,1839,63],{},[202,1838,317],{},[202,1840,695],{},[697,1842,1843,1851],{},[700,1844,1845],{},[703,1846,1847,1849],{},[706,1848,708],{},[706,1850,712],{"align":711},[714,1852,1853,1859,1865,1871],{},[703,1854,1855,1857],{},[719,1856,721],{},[719,1858,317],{"align":711},[703,1860,1861,1863],{},[719,1862,728],{},[719,1864,731],{"align":711},[703,1866,1867,1869],{},[719,1868,736],{},[719,1870,739],{"align":711},[703,1872,1873,1875],{},[719,1874,744],{},[719,1876,747],{"align":711},[65,1878,1879],{"color":174,"icon":750},[17,1880,753],{},[13,1882,1883,1885,1895,1897,1939,1941,1945,1951,1953,2011,2013,2017,2019,2045,2047,2067,2069,2089,2091,2095],{"title":756},[17,1884,759],{},[17,1886,762,1887,766,1889,766,1891,773,1893,63],{},[72,1888,765],{},[72,1890,769],{},[72,1892,772],{},[72,1894,776],{},[486,1896,780],{"id":779},[118,1898,1899,1903,1907,1913,1917,1921,1925,1929,1933],{},[36,1900,415,1901,787],{},[202,1902,278],{},[36,1904,189,1905,63],{},[72,1906,423],{},[36,1908,333,1909,796,1911,431],{},[202,1910,638],{},[202,1912,296],{},[36,1914,189,1915,63],{},[72,1916,803],{},[36,1918,141,1919,63],{},[72,1920,808],{},[36,1922,811,1923,63],{},[202,1924,814],{},[36,1926,333,1927,650],{},[202,1928,819],{},[36,1930,189,1931,63],{},[72,1932,214],{},[36,1934,826,1935,829,1937,63],{},[202,1936,317],{},[202,1938,659],{},[17,1940,834],{},[17,1942,1943],{},[202,1944,839],{},[17,1946,842,1947,846,1949,849],{},[24,1948,845],{"slug":845},[202,1950,814],{},[486,1952,853],{"id":852},[118,1954,1955,1961,1967,1973,1979,1983,1987,1991,1995,1999,2005],{},[36,1956,189,1957,441,1959,63],{},[72,1958,192],{},[72,1960,272],{},[36,1962,504,1963,235,1965,63],{},[202,1964,278],{},[202,1966,839],{},[36,1968,870,1969,874,1971,63],{},[202,1970,873],{},[202,1972,296],{},[36,1974,343,1975,318,1977,63],{},[202,1976,881],{},[202,1978,884],{},[36,1980,887,1981,63],{},[202,1982,296],{},[36,1984,892,1985,63],{},[202,1986,895],{},[36,1988,898,1989,63],{},[202,1990,296],{},[36,1992,892,1993,63],{},[202,1994,905],{},[36,1996,189,1997,63],{},[72,1998,305],{},[36,2000,333,2001,915,2003,209],{},[202,2002,914],{},[202,2004,300],{},[36,2006,343,2007,318,2009,63],{},[202,2008,922],{},[202,2010,765],{},[17,2012,927],{},[17,2014,2015],{},[202,2016,932],{},[486,2018,936],{"id":935},[118,2020,2021,2027,2031,2035,2039],{},[36,2022,189,2023,441,2025,63],{},[72,2024,192],{},[72,2026,272],{},[36,2028,504,2029,950],{},[202,2030,949],{},[36,2032,892,2033,63],{},[202,2034,955],{},[36,2036,333,2037,960],{},[202,2038,914],{},[36,2040,343,2041,318,2043,63],{},[202,2042,922],{},[202,2044,769],{},[486,2046,970],{"id":969},[118,2048,2049,2053,2057,2061],{},[36,2050,415,2051,209],{},[202,2052,949],{},[36,2054,892,2055,63],{},[202,2056,981],{},[36,2058,333,2059,960],{},[202,2060,914],{},[36,2062,343,2063,318,2065,63],{},[202,2064,922],{},[202,2066,772],{},[486,2068,995],{"id":994},[118,2070,2071,2075,2079,2085],{},[36,2072,504,2073,1002],{},[202,2074,530],{},[36,2076,333,2077,960],{},[202,2078,914],{},[36,2080,343,2081,318,2083,63],{},[202,2082,922],{},[202,2084,776],{},[36,2086,333,2087,1018],{},[202,2088,1017],{},[17,2090,1021],{},[17,2092,2093],{},[168,2094],{"alt":1026,"src":1027},[65,2096,2097,2101],{"color":174,"icon":1030},[17,2098,2099],{},[72,2100,1035],{},[17,2102,1038],{},[13,2104,2105,2107,2127],{"title":1041},[17,2106,1044],{},[118,2108,2109,2111,2115,2117,2119,2123],{},[36,2110,1049],{},[36,2112,1052,2113,63],{},[72,2114,1055],{},[36,2116,1058],{},[36,2118,1061],{},[36,2120,141,2121,63],{},[72,2122,1055],{},[36,2124,141,2125,1071],{},[72,2126,1070],{},[65,2128,2129],{"color":174,"icon":1074},[17,2130,1077],{},[13,2132,2133,2135,2137,2139,2147,2149,2161,2163,2173,2183],{"title":1080},[17,2134,1083],{},[17,2136,1086],{},[486,2138,1090],{"id":1089},[118,2140,2141,2143,2145],{},[36,2142,1095],{},[36,2144,1098],{},[36,2146,1101],{},[486,2148,1105],{"id":1104},[118,2150,2151,2153,2155,2159],{},[36,2152,1110],{},[36,2154,1113],{},[36,2156,1116,2157,63],{},[202,2158,476],{},[36,2160,1121],{},[486,2162,1125],{"id":1124},[118,2164,2165,2167,2169,2171],{},[36,2166,1130],{},[36,2168,1133],{},[36,2170,1136],{},[36,2172,1139],{},[17,2174,1142,2175,766,2177,766,2179,773,2181,1151],{},[72,2176,765],{},[72,2178,769],{},[72,2180,772],{},[72,2182,776],{},[65,2184,2185],{"color":174,"icon":175},[17,2186,1156],{},[13,2188,2189],{"title":1159},[1161,2190,2191,2195,2197,2203,2209,2211,2219,2221],{},[17,2192,2193],{},[72,2194,1167],{},[17,2196,1170],{},[17,2198,1173,2199,1177,2201,209],{},[202,2200,1176],{},[202,2202,300],{},[17,2204,1182,2205,1185,2207,63],{},[202,2206,321],{},[202,2208,1188],{},[17,2210,1191],{},[33,2212,2213,2215,2217],{},[36,2214,1196],{},[36,2216,1199],{},[36,2218,1202],{},[17,2220,1205],{},[17,2222,1208],{},[13,2224,2225,2309],{"title":1211},[697,2226,2227,2235],{},[700,2228,2229],{},[703,2230,2231,2233],{},[706,2232,1220],{},[706,2234,1223],{},[714,2236,2237,2247,2253,2261,2267,2281,2303],{},[703,2238,2239,2241],{},[719,2240,1230],{},[719,2242,1233,2243,1236,2245,1239],{},[202,2244,340],{},[202,2246,1176],{},[703,2248,2249,2251],{},[719,2250,1244],{},[719,2252,1247],{},[703,2254,2255,2257],{},[719,2256,1252],{},[719,2258,1255,2259,63],{},[202,2260,484],{},[703,2262,2263,2265],{},[719,2264,1262],{},[719,2266,1265],{},[703,2268,2269,2271],{},[719,2270,1270],{},[719,2272,1273,2273,692,2275,1280,2277,1284,2279,1288],{},[202,2274,1276],{},[202,2276,1279],{},[202,2278,1283],{},[202,2280,1287],{},[703,2282,2283,2285],{},[719,2284,1293],{},[719,2286,1296,2287,766,2289,766,2291,766,2293,766,2295,766,2297,766,2299,773,2301,63],{},[72,2288,192],{},[72,2290,305],{},[72,2292,423],{},[72,2294,286],{},[72,2296,214],{},[72,2298,272],{},[72,2300,803],{},[72,2302,330],{},[703,2304,2305,2307],{},[719,2306,1317],{},[719,2308,1320],{},[65,2310,2311],{"color":67,"icon":1323},[17,2312,1326],{},{"title":1328,"searchDepth":1329,"depth":1329,"links":2314},[],[27,1336,1337,1338],{},{"title":5,"description":1328},{"id":4,"title":5,"body":2319,"description":1328,"draft":1331,"duration":1332,"extension":1333,"image":1334,"kit":3284,"language":1339,"level":1340,"meta":3285,"navigation":1342,"path":1343,"pdf":1344,"platform":1345,"seo":3286,"stem":1347,"youtube":1328,"__hash__":1348},{"type":7,"value":2320,"toc":3282},[2321],[10,2322,2323,2373,2377,2381,2424,2478,2578,2736,2850,3072,3100,3156,3192],{},[13,2324,2325,2327,2331,2333,2347,2351,2371],{"title":15},[17,2326,19],{},[17,2328,22,2329,28],{},[24,2330,27],{"slug":26},[17,2332,31],{},[33,2334,2335,2339,2343],{},[36,2336,38,2337],{},[24,2338,42],{"slug":41},[36,2340,45,2341],{},[24,2342,49],{"slug":48},[36,2344,52,2345],{},[24,2346,55],{"slug":55},[17,2348,58,2349,63],{},[24,2350,62],{"slug":61},[65,2352,2353,2357],{"color":67,"icon":68},[17,2354,2355],{},[72,2356,74],{},[33,2358,2359,2361,2363,2365,2367,2369],{},[36,2360,79],{},[36,2362,82],{},[36,2364,85],{},[36,2366,88],{},[36,2368,91],{},[36,2370,94],{},[17,2372,97],{},[13,2374,2375],{"title":100},[102,2376],{},[13,2378,2379],{"title":106},[108,2380],{"terms":110},[13,2382,2383,2385,2414,2416,2420],{"title":113},[17,2384,116],{},[118,2386,2387,2389,2394,2398,2402,2406,2410],{},[36,2388,122],{},[36,2390,125,2391,63],{},[127,2392,132],{"href":129,"rel":2393},[131],[36,2395,135,2396,63],{},[72,2397,138],{},[36,2399,141,2400,63],{},[72,2401,27],{},[36,2403,146,2404,63],{},[72,2405,149],{},[36,2407,152,2408,156],{},[72,2409,155],{},[36,2411,141,2412,63],{},[72,2413,161],{},[17,2415,164],{},[17,2417,2418],{},[168,2419],{"alt":170,"src":171},[65,2421,2422],{"color":174,"icon":175},[17,2423,178],{},[13,2425,2426,2428,2466,2468,2472],{"title":181},[17,2427,184],{},[118,2429,2430,2434,2438,2444,2448,2452,2456,2460],{},[36,2431,189,2432,63],{},[72,2433,192],{},[36,2435,141,2436,63],{},[72,2437,197],{},[36,2439,200,2440,205,2442,209],{},[202,2441,204],{},[202,2443,208],{},[36,2445,189,2446,63],{},[72,2447,214],{},[36,2449,200,2450,220],{},[202,2451,219],{},[36,2453,189,2454,63],{},[72,2455,192],{},[36,2457,141,2458,63],{},[72,2459,229],{},[36,2461,200,2462,235,2464,63],{},[202,2463,234],{},[202,2465,219],{},[17,2467,240],{},[17,2469,2470],{},[168,2471],{"alt":245,"src":246},[65,2473,2474],{"color":174,"icon":249},[17,2475,252,2476,255],{},[202,2477,234],{},[13,2479,2480,2482,2554,2556,2560,2562,2574],{"title":258},[17,2481,261],{},[118,2483,2484,2488,2492,2498,2502,2510,2514,2518,2524,2528,2532,2538,2544,2548],{},[36,2485,189,2486,63],{},[72,2487,192],{},[36,2489,141,2490,63],{},[72,2491,272],{},[36,2493,275,2494,279,2496,209],{},[202,2495,278],{},[202,2497,234],{},[36,2499,189,2500,63],{},[72,2501,286],{},[36,2503,289,2504,293,2506,297,2508,209],{},[202,2505,292],{},[202,2507,296],{},[202,2509,300],{},[36,2511,189,2512,63],{},[72,2513,305],{},[36,2515,289,2516,311],{},[202,2517,310],{},[36,2519,314,2520,318,2522,63],{},[202,2521,317],{},[202,2523,321],{},[36,2525,189,2526,63],{},[72,2527,192],{},[36,2529,141,2530,63],{},[72,2531,330],{},[36,2533,333,2534,337,2536,63],{},[202,2535,336],{},[202,2537,340],{},[36,2539,343,2540,318,2542,63],{},[202,2541,346],{},[202,2543,349],{},[36,2545,189,2546,63],{},[72,2547,305],{},[36,2549,333,2550,337,2552,63],{},[202,2551,358],{},[202,2553,361],{},[17,2555,364],{},[17,2557,2558],{},[168,2559],{"alt":369,"src":370},[17,2561,373],{},[33,2563,2564,2566,2568,2570,2572],{},[36,2565,378],{},[36,2567,381],{},[36,2569,384],{},[36,2571,387],{},[36,2573,390],{},[65,2575,2576],{"color":67,"icon":393},[17,2577,396],{},[13,2579,2580,2582,2640,2642,2646,2648,2706,2708,2712,2714,2726,2732],{"title":399},[17,2581,402],{},[118,2583,2584,2588,2592,2596,2600,2606,2610,2616,2622,2628,2634],{},[36,2585,189,2586,63],{},[72,2587,192],{},[36,2589,141,2590,63],{},[72,2591,272],{},[36,2593,415,2594,418],{},[202,2595,278],{},[36,2597,189,2598,63],{},[72,2599,423],{},[36,2601,289,2602,293,2604,431],{},[202,2603,428],{},[202,2605,296],{},[36,2607,415,2608,436],{},[202,2609,278],{},[36,2611,189,2612,441,2614,63],{},[72,2613,192],{},[72,2615,272],{},[36,2617,200,2618,449,2620,63],{},[202,2619,448],{},[202,2621,296],{},[36,2623,343,2624,318,2626,63],{},[202,2625,456],{},[202,2627,459],{},[36,2629,333,2630,465,2632,468],{},[202,2631,464],{},[202,2633,459],{},[36,2635,471,2636,318,2638,63],{},[202,2637,317],{},[202,2639,476],{},[17,2641,479],{},[17,2643,2644],{},[202,2645,484],{},[486,2647,489],{"id":488},[118,2649,2650,2654,2658,2664,2670,2676,2680,2684,2690,2696,2700],{},[36,2651,189,2652,63],{},[72,2653,305],{},[36,2655,333,2656,501],{},[202,2657,500],{},[36,2659,504,2660,508,2662,63],{},[202,2661,507],{},[202,2663,511],{},[36,2665,343,2666,318,2668,63],{},[202,2667,516],{},[202,2669,519],{},[36,2671,189,2672,441,2674,63],{},[72,2673,192],{},[72,2675,272],{},[36,2677,504,2678,531],{},[202,2679,530],{},[36,2681,189,2682,63],{},[72,2683,305],{},[36,2685,333,2686,540,2688,63],{},[202,2687,358],{},[202,2689,530],{},[36,2691,189,2692,441,2694,63],{},[72,2693,192],{},[72,2695,330],{},[36,2697,333,2698,553],{},[202,2699,336],{},[36,2701,343,2702,318,2704,63],{},[202,2703,346],{},[202,2705,560],{},[17,2707,563],{},[17,2709,2710],{},[168,2711],{"alt":568,"src":569},[17,2713,572],{},[33,2715,2716,2718,2722],{},[36,2717,577],{},[36,2719,580,2720,583],{},[202,2721,476],{},[36,2723,586,2724,589],{},[202,2725,476],{},[17,2727,592,2728,597,2730,602],{},[24,2729,596],{"slug":595},[24,2731,601],{"slug":600},[65,2733,2734],{"color":174,"icon":605},[17,2735,608],{},[13,2737,2738,2740,2798,2800,2804,2810,2846],{"title":611},[17,2739,614],{},[118,2741,2742,2746,2750,2754,2758,2764,2768,2772,2776,2782,2788,2792],{},[36,2743,189,2744,63],{},[72,2745,192],{},[36,2747,141,2748,63],{},[72,2749,272],{},[36,2751,415,2752,629],{},[202,2753,278],{},[36,2755,189,2756,63],{},[72,2757,423],{},[36,2759,289,2760,639,2762,63],{},[202,2761,638],{},[202,2763,296],{},[36,2765,189,2766,63],{},[72,2767,305],{},[36,2769,333,2770,650],{},[202,2771,310],{},[36,2773,189,2774,63],{},[72,2775,214],{},[36,2777,289,2778,293,2780,63],{},[202,2779,659],{},[202,2781,317],{},[36,2783,189,2784,441,2786,63],{},[72,2785,192],{},[72,2787,330],{},[36,2789,333,2790,672],{},[202,2791,336],{},[36,2793,343,2794,318,2796,63],{},[202,2795,346],{},[202,2797,560],{},[17,2799,364],{},[17,2801,2802],{},[168,2803],{"alt":685,"src":686},[17,2805,689,2806,692,2808,63],{},[202,2807,317],{},[202,2809,695],{},[697,2811,2812,2820],{},[700,2813,2814],{},[703,2815,2816,2818],{},[706,2817,708],{},[706,2819,712],{"align":711},[714,2821,2822,2828,2834,2840],{},[703,2823,2824,2826],{},[719,2825,721],{},[719,2827,317],{"align":711},[703,2829,2830,2832],{},[719,2831,728],{},[719,2833,731],{"align":711},[703,2835,2836,2838],{},[719,2837,736],{},[719,2839,739],{"align":711},[703,2841,2842,2844],{},[719,2843,744],{},[719,2845,747],{"align":711},[65,2847,2848],{"color":174,"icon":750},[17,2849,753],{},[13,2851,2852,2854,2864,2866,2908,2910,2914,2920,2922,2980,2982,2986,2988,3014,3016,3036,3038,3058,3060,3064],{"title":756},[17,2853,759],{},[17,2855,762,2856,766,2858,766,2860,773,2862,63],{},[72,2857,765],{},[72,2859,769],{},[72,2861,772],{},[72,2863,776],{},[486,2865,780],{"id":779},[118,2867,2868,2872,2876,2882,2886,2890,2894,2898,2902],{},[36,2869,415,2870,787],{},[202,2871,278],{},[36,2873,189,2874,63],{},[72,2875,423],{},[36,2877,333,2878,796,2880,431],{},[202,2879,638],{},[202,2881,296],{},[36,2883,189,2884,63],{},[72,2885,803],{},[36,2887,141,2888,63],{},[72,2889,808],{},[36,2891,811,2892,63],{},[202,2893,814],{},[36,2895,333,2896,650],{},[202,2897,819],{},[36,2899,189,2900,63],{},[72,2901,214],{},[36,2903,826,2904,829,2906,63],{},[202,2905,317],{},[202,2907,659],{},[17,2909,834],{},[17,2911,2912],{},[202,2913,839],{},[17,2915,842,2916,846,2918,849],{},[24,2917,845],{"slug":845},[202,2919,814],{},[486,2921,853],{"id":852},[118,2923,2924,2930,2936,2942,2948,2952,2956,2960,2964,2968,2974],{},[36,2925,189,2926,441,2928,63],{},[72,2927,192],{},[72,2929,272],{},[36,2931,504,2932,235,2934,63],{},[202,2933,278],{},[202,2935,839],{},[36,2937,870,2938,874,2940,63],{},[202,2939,873],{},[202,2941,296],{},[36,2943,343,2944,318,2946,63],{},[202,2945,881],{},[202,2947,884],{},[36,2949,887,2950,63],{},[202,2951,296],{},[36,2953,892,2954,63],{},[202,2955,895],{},[36,2957,898,2958,63],{},[202,2959,296],{},[36,2961,892,2962,63],{},[202,2963,905],{},[36,2965,189,2966,63],{},[72,2967,305],{},[36,2969,333,2970,915,2972,209],{},[202,2971,914],{},[202,2973,300],{},[36,2975,343,2976,318,2978,63],{},[202,2977,922],{},[202,2979,765],{},[17,2981,927],{},[17,2983,2984],{},[202,2985,932],{},[486,2987,936],{"id":935},[118,2989,2990,2996,3000,3004,3008],{},[36,2991,189,2992,441,2994,63],{},[72,2993,192],{},[72,2995,272],{},[36,2997,504,2998,950],{},[202,2999,949],{},[36,3001,892,3002,63],{},[202,3003,955],{},[36,3005,333,3006,960],{},[202,3007,914],{},[36,3009,343,3010,318,3012,63],{},[202,3011,922],{},[202,3013,769],{},[486,3015,970],{"id":969},[118,3017,3018,3022,3026,3030],{},[36,3019,415,3020,209],{},[202,3021,949],{},[36,3023,892,3024,63],{},[202,3025,981],{},[36,3027,333,3028,960],{},[202,3029,914],{},[36,3031,343,3032,318,3034,63],{},[202,3033,922],{},[202,3035,772],{},[486,3037,995],{"id":994},[118,3039,3040,3044,3048,3054],{},[36,3041,504,3042,1002],{},[202,3043,530],{},[36,3045,333,3046,960],{},[202,3047,914],{},[36,3049,343,3050,318,3052,63],{},[202,3051,922],{},[202,3053,776],{},[36,3055,333,3056,1018],{},[202,3057,1017],{},[17,3059,1021],{},[17,3061,3062],{},[168,3063],{"alt":1026,"src":1027},[65,3065,3066,3070],{"color":174,"icon":1030},[17,3067,3068],{},[72,3069,1035],{},[17,3071,1038],{},[13,3073,3074,3076,3096],{"title":1041},[17,3075,1044],{},[118,3077,3078,3080,3084,3086,3088,3092],{},[36,3079,1049],{},[36,3081,1052,3082,63],{},[72,3083,1055],{},[36,3085,1058],{},[36,3087,1061],{},[36,3089,141,3090,63],{},[72,3091,1055],{},[36,3093,141,3094,1071],{},[72,3095,1070],{},[65,3097,3098],{"color":174,"icon":1074},[17,3099,1077],{},[13,3101,3102,3104,3106,3108,3116,3118,3130,3132,3142,3152],{"title":1080},[17,3103,1083],{},[17,3105,1086],{},[486,3107,1090],{"id":1089},[118,3109,3110,3112,3114],{},[36,3111,1095],{},[36,3113,1098],{},[36,3115,1101],{},[486,3117,1105],{"id":1104},[118,3119,3120,3122,3124,3128],{},[36,3121,1110],{},[36,3123,1113],{},[36,3125,1116,3126,63],{},[202,3127,476],{},[36,3129,1121],{},[486,3131,1125],{"id":1124},[118,3133,3134,3136,3138,3140],{},[36,3135,1130],{},[36,3137,1133],{},[36,3139,1136],{},[36,3141,1139],{},[17,3143,1142,3144,766,3146,766,3148,773,3150,1151],{},[72,3145,765],{},[72,3147,769],{},[72,3149,772],{},[72,3151,776],{},[65,3153,3154],{"color":174,"icon":175},[17,3155,1156],{},[13,3157,3158],{"title":1159},[1161,3159,3160,3164,3166,3172,3178,3180,3188,3190],{},[17,3161,3162],{},[72,3163,1167],{},[17,3165,1170],{},[17,3167,1173,3168,1177,3170,209],{},[202,3169,1176],{},[202,3171,300],{},[17,3173,1182,3174,1185,3176,63],{},[202,3175,321],{},[202,3177,1188],{},[17,3179,1191],{},[33,3181,3182,3184,3186],{},[36,3183,1196],{},[36,3185,1199],{},[36,3187,1202],{},[17,3189,1205],{},[17,3191,1208],{},[13,3193,3194,3278],{"title":1211},[697,3195,3196,3204],{},[700,3197,3198],{},[703,3199,3200,3202],{},[706,3201,1220],{},[706,3203,1223],{},[714,3205,3206,3216,3222,3230,3236,3250,3272],{},[703,3207,3208,3210],{},[719,3209,1230],{},[719,3211,1233,3212,1236,3214,1239],{},[202,3213,340],{},[202,3215,1176],{},[703,3217,3218,3220],{},[719,3219,1244],{},[719,3221,1247],{},[703,3223,3224,3226],{},[719,3225,1252],{},[719,3227,1255,3228,63],{},[202,3229,484],{},[703,3231,3232,3234],{},[719,3233,1262],{},[719,3235,1265],{},[703,3237,3238,3240],{},[719,3239,1270],{},[719,3241,1273,3242,692,3244,1280,3246,1284,3248,1288],{},[202,3243,1276],{},[202,3245,1279],{},[202,3247,1283],{},[202,3249,1287],{},[703,3251,3252,3254],{},[719,3253,1293],{},[719,3255,1296,3256,766,3258,766,3260,766,3262,766,3264,766,3266,766,3268,773,3270,63],{},[72,3257,192],{},[72,3259,305],{},[72,3261,423],{},[72,3263,286],{},[72,3265,214],{},[72,3267,272],{},[72,3269,803],{},[72,3271,330],{},[703,3273,3274,3276],{},[719,3275,1317],{},[719,3277,1320],{},[65,3279,3280],{"color":67,"icon":1323},[17,3281,1326],{},{"title":1328,"searchDepth":1329,"depth":1329,"links":3283},[],[27,1336,1337,1338],{},{"title":5,"description":1328},[3288,3300,3312,3324,3336,3347,3360,3373,3385,3398,3410,3422,3435,3447,3459,3471,3482,3494,3506,3518,3530,3542,3554,3566,3578,3590,3602,3614,3626,3638,3650],{"id":3289,"category":3290,"definition":3291,"example":3292,"extension":1333,"meta":3293,"stem":3298,"term":286,"__hash__":3299},"glossary\u002Fglossary\u002Faccelerometer.md","Hardware","An accelerometer is a tiny part inside the micro:bit that senses movement, like tilting, shaking or being turned over. It turns that movement into numbers your code can react to.","A bit like the sensor in a games controller that knows when you tilt it to steer, the accelerometer notices when the micro:bit moves.",{"body":3294},{"type":7,"value":3295,"toc":3296},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3297},[],"glossary\u002Faccelerometer","ksJj58OEPP72c3cASeHPlPiw73FfxxUbtIkoEIYW2Rc",{"id":3301,"category":3290,"definition":3302,"example":3303,"extension":1333,"meta":3304,"stem":3309,"term":3310,"__hash__":3311},"glossary\u002Fglossary\u002Fbutton.md","A button is a switch you press to tell your project to do something. The code can check whether it's being pressed or not.","Pressing a doorbell is just like pressing a button, one press sends a signal that makes something happen.",{"body":3305},{"type":7,"value":3306,"toc":3307},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3308},[],"glossary\u002Fbutton","Button","PgfcNSpG1mpSW_fVJZZMkF4D6eYiQLiyKWeq6_CXsMA",{"id":3313,"category":3290,"definition":3314,"example":3315,"extension":1333,"meta":3316,"stem":3321,"term":3322,"__hash__":3323},"glossary\u002Fglossary\u002Fbuzzer.md","A buzzer is a tiny speaker that makes beeps and tones when you send it electricity. By telling it different numbers, you can make it play notes and tunes.","The beep a microwave makes when your food is ready comes from a buzzer.",{"body":3317},{"type":7,"value":3318,"toc":3319},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3320},[],"glossary\u002Fbuzzer","Buzzer","L0-h_InzgZ_gB0Iy3IE-ojdFF0cXjdB2AxJY0QU0VpU",{"id":3325,"category":272,"definition":3326,"example":3327,"extension":1333,"meta":3328,"stem":3333,"term":3334,"__hash__":3335},"glossary\u002Fglossary\u002Fcomparison-operators.md","A comparison operator checks how two things measure up, for example whether they are equal or one is bigger than the other. It gives back a simple true or false answer.","Asking \"is 6 == 6?\" gives back true, but \"is 6 == 2?\" gives back false, so your code knows whether the two numbers match.",{"body":3329},{"type":7,"value":3330,"toc":3331},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3332},[],"glossary\u002Fcomparison-operators","Comparison Operators","PPG3NDp3Xsx9FclsvC7ertn8IDeBVjhCknFTN17UIaU",{"id":3337,"category":3290,"definition":3338,"example":3339,"extension":1333,"meta":3340,"stem":3345,"term":214,"__hash__":3346},"glossary\u002Fglossary\u002Fcompass.md","A compass senses which way you are facing and turns it into a number your code can read, from 0 all the way round to 359. North is 0, east is 90, south is 180 and west is 270.","Like the little arrow on a map app that swings round as you turn, a compass tells your code which way you are pointing.",{"body":3341},{"type":7,"value":3342,"toc":3343},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3344},[],"glossary\u002Fcompass","OLHOUB2juBbFNqrj6mKvU8g2AjtBuCQZnsdV_3fkW-w",{"id":3348,"category":3349,"definition":3350,"example":3351,"extension":1333,"meta":3352,"stem":3357,"term":3358,"__hash__":3359},"glossary\u002Fglossary\u002Fforever-loop.md","Programming","A forever loop repeats its instructions again and again without ever stopping (until you switch off or reset). It's perfect for anything you want to keep happening over and over.","Like a clock's second hand that keeps ticking round and round, a forever loop keeps running the same steps over and over.",{"body":3353},{"type":7,"value":3354,"toc":3355},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3356},[],"glossary\u002Fforever-loop","Forever loop","1j2cYaiR3yKeoh54w9Vg2aWr_cEXEtj7F0WCR3_jdc0",{"id":3361,"category":3362,"definition":3363,"example":3364,"extension":1333,"meta":3365,"stem":3370,"term":3371,"__hash__":3372},"glossary\u002Fglossary\u002Ffrequency.md","Electronics","A frequency is just a number that tells a buzzer which note to play. A small number makes a low sound, and a big number makes a high sound.","Setting a buzzer to a low number gives a deep, rumbly note, while a high number makes a squeaky, high-pitched one, a bit like the left and right ends of a piano.",{"body":3366},{"type":7,"value":3367,"toc":3368},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3369},[],"glossary\u002Ffrequency","Frequency","XY4AeY0bsJaqF0XBjkEAvTSzqxdpPPLt09Z_LbZSjPg",{"id":3374,"category":3349,"definition":3375,"example":3376,"extension":1333,"meta":3377,"stem":3382,"term":3383,"__hash__":3384},"glossary\u002Fglossary\u002Ffunction.md","A function is a chunk of code you give a name to, so you can use it again and again without building it from scratch each time. Think of it like a favourite recipe, you write down the steps once, then follow it whenever you need it.","Like writing out a pancake recipe once. Whenever you fancy pancakes, you just follow the recipe again rather than working it all out from scratch.",{"body":3378},{"type":7,"value":3379,"toc":3380},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3381},[],"glossary\u002Ffunction","Function","0aEVvGRMWsAC1qXngj6QCHxCoIn1mWfHYBBi95ayuLE",{"id":3386,"category":3387,"definition":3388,"example":3389,"extension":1333,"meta":3390,"stem":3395,"term":3396,"__hash__":3397},"glossary\u002Fglossary\u002Fide-code-editor.md","General","An IDE is the program where you write and run your code. A code editor lots of children and parents will already know is Scratch, where you drag blocks together to build a program. IDE stands for \"integrated development environment\".","It's like a kitchen for code: one place with all the tools you need to put your project together and test it.",{"body":3391},{"type":7,"value":3392,"toc":3393},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3394},[],"glossary\u002Fide-code-editor","IDE (code editor)","yc7Eds8WdmrIM56FGlCmMtjhoodKwT1IUvQCC9bsvKs",{"id":3399,"category":272,"definition":3400,"example":3401,"extension":1333,"meta":3402,"stem":3407,"term":3408,"__hash__":3409},"glossary\u002Fglossary\u002Fif-statement.md","An if statement checks whether something is true, and only runs its instructions when it is. It's how code makes decisions.","\"If it's cold, put on a coat.\" If it's warm, you skip the coat, the action only happens when the check is true.",{"body":3403},{"type":7,"value":3404,"toc":3405},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3406},[],"glossary\u002Fif-statement","If statement","3uYmpX5sGUnkc327qCP_EkL6IGkFiginfOP39Kstry8",{"id":3411,"category":3349,"definition":3412,"example":3413,"extension":1333,"meta":3414,"stem":3419,"term":3420,"__hash__":3421},"glossary\u002Fglossary\u002Fimporting-libraries.md","A library is a ready-made bundle of code that someone else has written for you. Importing a library means bringing it into your project so you can use all its ready-made commands and features, without building them from scratch.","It's like borrowing a recipe book from the library. Instead of working out every recipe yourself, you bring the book in and use the recipes whenever you need them.",{"body":3415},{"type":7,"value":3416,"toc":3417},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3418},[],"glossary\u002Fimporting-libraries","Importing Libraries","Wqj3o2kxbFQa44LtzhYfeDYluwIPxxWChkL00OD1LqI",{"id":3423,"category":3424,"definition":3425,"example":3426,"extension":1333,"meta":3427,"stem":3432,"term":3433,"__hash__":3434},"glossary\u002Fglossary\u002Finteger.md","Data & Variables","An integer is just a whole number, like 1, 2 or 3. It has no bits after a dot, so 4 is an integer, but 4.5 isn't.","Counting down 3… 2… 1… uses integers, but a price like £4.99 isn't an integer because it has numbers after the dot.",{"body":3428},{"type":7,"value":3429,"toc":3430},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3431},[],"glossary\u002Finteger","Integer","lktbVeg3VEBLF2Jg3R_EKdjEowVZeabE1gPnGpI2OXY",{"id":3436,"category":3290,"definition":3437,"example":3438,"extension":1333,"meta":3439,"stem":3444,"term":3445,"__hash__":3446},"glossary\u002Fglossary\u002Fled.md","An LED is a tiny light you can switch on and off (and sometimes change colour) with your code. LED is short for \"light-emitting diode\".","The little standby light on a TV is an LED, your code can flash one on and off the same way.",{"body":3440},{"type":7,"value":3441,"toc":3442},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3443},[],"glossary\u002Fled","LED","M41j-xq46HhMvOjtpYSjfy0ypnoMYVzgeqVGSuyVciY",{"id":3448,"category":3290,"definition":3449,"example":3450,"extension":1333,"meta":3451,"stem":3456,"term":3457,"__hash__":3458},"glossary\u002Fglossary\u002Fled-matrix.md","The LED matrix is the grid of little red lights on the front of the micro:bit. By switching them on and off in patterns, your code can show numbers, letters and tiny pictures.","Like a mini scoreboard made of dots, the LED matrix lights up to spell out your step count.",{"body":3452},{"type":7,"value":3453,"toc":3454},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3455},[],"glossary\u002Fled-matrix","LED Matrix","KfPJAm7v5EXlm2ejZZLldfB4w7zOMZQhbrmsqxpqJi8",{"id":3460,"category":3290,"definition":3461,"example":3462,"extension":1333,"meta":3463,"stem":3468,"term":3469,"__hash__":3470},"glossary\u002Fglossary\u002Flight-sensor.md","A light sensor is a little part that measures how bright or dark it is around it, then turns that into a number your code can read. As the light changes, so does the number.","Like the automatic headlights on a car that switch on when it gets dark, a light sensor notices the light dropping and lets your code react.",{"body":3464},{"type":7,"value":3465,"toc":3466},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3467},[],"glossary\u002Flight-sensor","Light Sensor","tEERMTJO24JmYYlQoIO7DxY9yXg0GNehs78E_LQL28U",{"id":3472,"category":3290,"definition":3473,"example":3474,"extension":1333,"meta":3475,"stem":3480,"term":27,"__hash__":3481},"glossary\u002Fglossary\u002Fmicro-bit.md","The micro:bit is a tiny programmable computer, about the size of a matchbox, made for learning to code. It has two buttons, a grid of little red LED lights and built-in sensors that can detect movement, light and temperature.","A bit like a pocket-sized computer you can program yourself, a micro:bit can become a step counter, a thermometer or even a simple game.",{"body":3476},{"type":7,"value":3477,"toc":3478},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3479},[],"glossary\u002Fmicro-bit","GZPIPrw-9_LkW4seKGxZt6hAdg8MO_A_wOS-mN4qDTg",{"id":3483,"category":3387,"definition":3484,"example":3485,"extension":1333,"meta":3486,"stem":3491,"term":3492,"__hash__":3493},"glossary\u002Fglossary\u002Fmillisecond.md","A millisecond is a tiny slice of time. There are 1,000 of them in just one second! That's why it's perfect for measuring things that happen really fast.","A blink of an eye takes around 300 milliseconds, so a really quick button press might be even faster than a blink.",{"body":3487},{"type":7,"value":3488,"toc":3489},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3490},[],"glossary\u002Fmillisecond","Millisecond","2TwuImc8S9MyMSqRFO3i6iHVCdsxyJ_S9N_BxGbZL-8",{"id":3495,"category":3290,"definition":3496,"example":3497,"extension":1333,"meta":3498,"stem":3503,"term":3504,"__hash__":3505},"glossary\u002Fglossary\u002Fmodule.md","A module is a small part that does one job, like a buzzer, a button or a screen. You connect modules to the main board to give your project new powers.","Like adding different attachments to a toy, each module snaps on to add a new ability, sound, light or buttons.",{"body":3499},{"type":7,"value":3500,"toc":3501},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3502},[],"glossary\u002Fmodule","Module","IDLrS2CrlwNauzAWoCd7V16aO_ygDWyjp11bMsfuwO0",{"id":3507,"category":3290,"definition":3508,"example":3509,"extension":1333,"meta":3510,"stem":3515,"term":3516,"__hash__":3517},"glossary\u002Fglossary\u002Fmotor-controller.md","A motor controller is the part that sits between your board and a motor, passing on the right amount of power so the motor moves the way your code asks.","Like a remote control for a toy car, it takes your instructions and makes the motor do them.",{"body":3511},{"type":7,"value":3512,"toc":3513},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3514},[],"glossary\u002Fmotor-controller","Motor controller","McSSBLd3fPtYq-o2LUQBhW3pBeEmMSjF6cnb2O9ectE",{"id":3519,"category":3290,"definition":3520,"example":3521,"extension":1333,"meta":3522,"stem":3527,"term":3528,"__hash__":3529},"glossary\u002Fglossary\u002Foled-screen.md","An OLED screen is a small display that shows words, numbers and pictures from your code. On some kits it's labelled the \"LED display\", but it's the same little screen.","Like the small screen on a fitness watch showing your steps, an OLED screen can show a score or a countdown.",{"body":3523},{"type":7,"value":3524,"toc":3525},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3526},[],"glossary\u002Foled-screen","OLED screen","14SaCtmWj71MOziFuPIW377cynK4FRv5TsdEx4fGGFk",{"id":3531,"category":3290,"definition":3532,"example":3533,"extension":1333,"meta":3534,"stem":3539,"term":3540,"__hash__":3541},"glossary\u002Fglossary\u002Fpicobricks.md","PicoBricks is an all-in-one coding kit that joins up handy parts, like a screen, a buzzer, buttons and lights, onto one board, so you can build projects without any fiddly wiring.","It's a bit like a Lego baseboard for electronics: everything clicks together in one place, ready to code.",{"body":3535},{"type":7,"value":3536,"toc":3537},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3538},[],"glossary\u002Fpicobricks","PicoBricks","TeGs24I-3fkAdlpiuQPPBDUO8EKBe8PS1ewHaj-w5_s",{"id":3543,"category":3290,"definition":3544,"example":3545,"extension":1333,"meta":3546,"stem":3551,"term":3552,"__hash__":3553},"glossary\u002Fglossary\u002Fpotentiometer.md","A potentiometer is a knob or dial that controls how much electricity flows through a circuit. Think of it like a tap for water: turn it one way and more comes out, turn it the other way and less comes out.","A volume dial on a speaker is a potentiometer, turn it up for louder sound and down for quieter.",{"body":3547},{"type":7,"value":3548,"toc":3549},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3550},[],"glossary\u002Fpotentiometer","Potentiometer","ohP2krcKZLkMtpI44R32nhDVwImLmSBQWP6SOArsh6M",{"id":3555,"category":3349,"definition":3556,"example":3557,"extension":1333,"meta":3558,"stem":3563,"term":3564,"__hash__":3565},"glossary\u002Fglossary\u002Frandom.md","Random means you can't guess what's coming next, a bit like rolling a dice. The computer picks for you, so you get a different surprise each time.","Asking a computer for a random number between 1 and 6 is just like rolling a dice, you never know if you'll get a 1 or a 6.",{"body":3559},{"type":7,"value":3560,"toc":3561},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3562},[],"glossary\u002Frandom","Random","LkGfQKwUNfJ_TPXihwPveX2JeJ9-BB7DpUire9a2pqI",{"id":3567,"category":3290,"definition":3568,"example":3569,"extension":1333,"meta":3570,"stem":3575,"term":3576,"__hash__":3577},"glossary\u002Fglossary\u002Fraspberry-pi-pico.md","The Raspberry Pi Pico is a tiny, low-cost computer chip on a small board. It's the \"brain\" that stores your code and tells the other parts what to do.","It's like the brain inside a toy robot, small enough to fit in your hand, but clever enough to run your whole project.",{"body":3571},{"type":7,"value":3572,"toc":3573},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3574},[],"glossary\u002Fraspberry-pi-pico","Raspberry Pi Pico","HVa7r-PC6I5-DVcDdOULsBHP6h7V4SafhFtdazcSWYg",{"id":3579,"category":3349,"definition":3580,"example":3581,"extension":1333,"meta":3582,"stem":3587,"term":3588,"__hash__":3589},"glossary\u002Fglossary\u002Frepeat-loop.md","A repeat loop does its instructions a set number of times, then stops. You tell it exactly how many goes you want.","\"Repeat 3 times: blow out a candle.\" After the third candle, the loop is finished, no matter what.",{"body":3583},{"type":7,"value":3584,"toc":3585},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3586},[],"glossary\u002Frepeat-loop","Repeat loop","YC2iTUQ841lfmltd6Pkq89uuQbk29RWgR-rWs7MvjJ4",{"id":3591,"category":3290,"definition":3592,"example":3593,"extension":1333,"meta":3594,"stem":3599,"term":3600,"__hash__":3601},"glossary\u002Fglossary\u002Frgb-led.md","An RGB LED is a tiny light that can glow in any colour you like. It mixes red, green and blue light in different amounts, a bit like mixing paints, to make all sorts of colours.","Like the colour-changing lights some people put behind their TV, an RGB LED can shift from red to green to blue and everything in between.",{"body":3595},{"type":7,"value":3596,"toc":3597},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3598},[],"glossary\u002Frgb-led","RGB LED","mIu-76nYeQtI-NsTMcvPueLH11JE0fC5X2jJxBmKwPU",{"id":3603,"category":3290,"definition":3604,"example":3605,"extension":1333,"meta":3606,"stem":3611,"term":3612,"__hash__":3613},"glossary\u002Fglossary\u002Fservo-motor.md","A servo motor is a special motor that turns to an exact position you tell it, like 0 or 90 degrees, instead of just spinning round and round.","Like the hand on a clock moving to point at a number, a servo turns to the exact angle you ask for.",{"body":3607},{"type":7,"value":3608,"toc":3609},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3610},[],"glossary\u002Fservo-motor","Servo motor","IFtMLIEoNZ746ebquvkvp-PAqDQObQACMiWUTb3rfZ8",{"id":3615,"category":3290,"definition":3616,"example":3617,"extension":1333,"meta":3618,"stem":3623,"term":3624,"__hash__":3625},"glossary\u002Fglossary\u002Ftemperature-sensor.md","A temperature sensor is a little part that measures how warm or cold it is around it, then turns that into a number your code can read. As the room heats up or cools down, the number changes too.","Like the thermometer that tells you if you've got a temperature when you're poorly, a temperature sensor measures the warmth around it and gives your code a number to work with.",{"body":3619},{"type":7,"value":3620,"toc":3621},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3622},[],"glossary\u002Ftemperature-sensor","Temperature sensor","UbSScS-TCPLSFDjnxsaFltpoKbORTAOaxh68b_-FMw8",{"id":3627,"category":272,"definition":3628,"example":3629,"extension":1333,"meta":3630,"stem":3635,"term":3636,"__hash__":3637},"glossary\u002Fglossary\u002Fthreshold.md","A threshold is a cut-off number you pick to help your code make a decision. The code checks whether a value is above or below it, then acts. It's like drawing a line and asking \"are we over it or under it?\"","Like setting a bedtime of 8 o'clock: before 8 you're still up, after 8 it's lights out. The time is your threshold.",{"body":3631},{"type":7,"value":3632,"toc":3633},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3634},[],"glossary\u002Fthreshold","Threshold","xikcgh-PcWY0Z_HhDY16B8SLJLbL0oJD8WUU3KpHqvY",{"id":3639,"category":3424,"definition":3640,"example":3641,"extension":1333,"meta":3642,"stem":3647,"term":3648,"__hash__":3649},"glossary\u002Fglossary\u002Fvariable.md","A variable is something that can change. Think of it like a labelled box: you pop something inside, and the label tells you what it is. You can swap what's inside whenever you like.","A variable called score might start at 0, then change to 1, 2 and 3 as you collect points in a game.",{"body":3643},{"type":7,"value":3644,"toc":3645},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3646},[],"glossary\u002Fvariable","Variable","nlzJUTSGqyIAKSbopFF01oPBuJT59zOT7MSoCpOMp1E",{"id":3651,"category":3349,"definition":3652,"example":3653,"extension":1333,"meta":3654,"stem":3659,"term":3660,"__hash__":3661},"glossary\u002Fglossary\u002Fwhile-loop.md","A while loop keeps repeating its instructions for as long as something stays true. The moment that thing stops being true, the loop stops.","\"While it's still raining, keep the umbrella up.\" As soon as the rain stops, you put the umbrella down, and the loop ends.",{"body":3655},{"type":7,"value":3656,"toc":3657},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3658},[],"glossary\u002Fwhile-loop","While loop","igK-e_snGhkP0kgSn6sPO7YQybQ0WpDfQMB0_8I2iZg",[3663,3669,3675,3681,3687,3693,3699,3705,3711,3717,3723,3729,3735,3741,3747,3753,3759,3765,3771,3777,3783,3789,3795,3801,3807,3813,3819,3825,3831,3837,3843],{"id":3289,"category":3290,"definition":3291,"example":3292,"extension":1333,"meta":3664,"stem":3298,"term":286,"__hash__":3299},{"body":3665},{"type":7,"value":3666,"toc":3667},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3668},[],{"id":3301,"category":3290,"definition":3302,"example":3303,"extension":1333,"meta":3670,"stem":3309,"term":3310,"__hash__":3311},{"body":3671},{"type":7,"value":3672,"toc":3673},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3674},[],{"id":3313,"category":3290,"definition":3314,"example":3315,"extension":1333,"meta":3676,"stem":3321,"term":3322,"__hash__":3323},{"body":3677},{"type":7,"value":3678,"toc":3679},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3680},[],{"id":3325,"category":272,"definition":3326,"example":3327,"extension":1333,"meta":3682,"stem":3333,"term":3334,"__hash__":3335},{"body":3683},{"type":7,"value":3684,"toc":3685},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3686},[],{"id":3337,"category":3290,"definition":3338,"example":3339,"extension":1333,"meta":3688,"stem":3345,"term":214,"__hash__":3346},{"body":3689},{"type":7,"value":3690,"toc":3691},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3692},[],{"id":3348,"category":3349,"definition":3350,"example":3351,"extension":1333,"meta":3694,"stem":3357,"term":3358,"__hash__":3359},{"body":3695},{"type":7,"value":3696,"toc":3697},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3698},[],{"id":3361,"category":3362,"definition":3363,"example":3364,"extension":1333,"meta":3700,"stem":3370,"term":3371,"__hash__":3372},{"body":3701},{"type":7,"value":3702,"toc":3703},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3704},[],{"id":3374,"category":3349,"definition":3375,"example":3376,"extension":1333,"meta":3706,"stem":3382,"term":3383,"__hash__":3384},{"body":3707},{"type":7,"value":3708,"toc":3709},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3710},[],{"id":3386,"category":3387,"definition":3388,"example":3389,"extension":1333,"meta":3712,"stem":3395,"term":3396,"__hash__":3397},{"body":3713},{"type":7,"value":3714,"toc":3715},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3716},[],{"id":3399,"category":272,"definition":3400,"example":3401,"extension":1333,"meta":3718,"stem":3407,"term":3408,"__hash__":3409},{"body":3719},{"type":7,"value":3720,"toc":3721},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3722},[],{"id":3411,"category":3349,"definition":3412,"example":3413,"extension":1333,"meta":3724,"stem":3419,"term":3420,"__hash__":3421},{"body":3725},{"type":7,"value":3726,"toc":3727},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3728},[],{"id":3423,"category":3424,"definition":3425,"example":3426,"extension":1333,"meta":3730,"stem":3432,"term":3433,"__hash__":3434},{"body":3731},{"type":7,"value":3732,"toc":3733},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3734},[],{"id":3436,"category":3290,"definition":3437,"example":3438,"extension":1333,"meta":3736,"stem":3444,"term":3445,"__hash__":3446},{"body":3737},{"type":7,"value":3738,"toc":3739},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3740},[],{"id":3448,"category":3290,"definition":3449,"example":3450,"extension":1333,"meta":3742,"stem":3456,"term":3457,"__hash__":3458},{"body":3743},{"type":7,"value":3744,"toc":3745},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3746},[],{"id":3460,"category":3290,"definition":3461,"example":3462,"extension":1333,"meta":3748,"stem":3468,"term":3469,"__hash__":3470},{"body":3749},{"type":7,"value":3750,"toc":3751},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3752},[],{"id":3483,"category":3387,"definition":3484,"example":3485,"extension":1333,"meta":3754,"stem":3491,"term":3492,"__hash__":3493},{"body":3755},{"type":7,"value":3756,"toc":3757},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3758},[],{"id":3495,"category":3290,"definition":3496,"example":3497,"extension":1333,"meta":3760,"stem":3503,"term":3504,"__hash__":3505},{"body":3761},{"type":7,"value":3762,"toc":3763},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3764},[],{"id":3507,"category":3290,"definition":3508,"example":3509,"extension":1333,"meta":3766,"stem":3515,"term":3516,"__hash__":3517},{"body":3767},{"type":7,"value":3768,"toc":3769},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3770},[],{"id":3519,"category":3290,"definition":3520,"example":3521,"extension":1333,"meta":3772,"stem":3527,"term":3528,"__hash__":3529},{"body":3773},{"type":7,"value":3774,"toc":3775},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3776},[],{"id":3531,"category":3290,"definition":3532,"example":3533,"extension":1333,"meta":3778,"stem":3539,"term":3540,"__hash__":3541},{"body":3779},{"type":7,"value":3780,"toc":3781},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3782},[],{"id":3543,"category":3290,"definition":3544,"example":3545,"extension":1333,"meta":3784,"stem":3551,"term":3552,"__hash__":3553},{"body":3785},{"type":7,"value":3786,"toc":3787},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3788},[],{"id":3591,"category":3290,"definition":3592,"example":3593,"extension":1333,"meta":3790,"stem":3599,"term":3600,"__hash__":3601},{"body":3791},{"type":7,"value":3792,"toc":3793},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3794},[],{"id":3555,"category":3349,"definition":3556,"example":3557,"extension":1333,"meta":3796,"stem":3563,"term":3564,"__hash__":3565},{"body":3797},{"type":7,"value":3798,"toc":3799},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3800},[],{"id":3567,"category":3290,"definition":3568,"example":3569,"extension":1333,"meta":3802,"stem":3575,"term":3576,"__hash__":3577},{"body":3803},{"type":7,"value":3804,"toc":3805},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3806},[],{"id":3579,"category":3349,"definition":3580,"example":3581,"extension":1333,"meta":3808,"stem":3587,"term":3588,"__hash__":3589},{"body":3809},{"type":7,"value":3810,"toc":3811},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3812},[],{"id":3603,"category":3290,"definition":3604,"example":3605,"extension":1333,"meta":3814,"stem":3611,"term":3612,"__hash__":3613},{"body":3815},{"type":7,"value":3816,"toc":3817},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3818},[],{"id":3615,"category":3290,"definition":3616,"example":3617,"extension":1333,"meta":3820,"stem":3623,"term":3624,"__hash__":3625},{"body":3821},{"type":7,"value":3822,"toc":3823},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3824},[],{"id":3627,"category":272,"definition":3628,"example":3629,"extension":1333,"meta":3826,"stem":3635,"term":3636,"__hash__":3637},{"body":3827},{"type":7,"value":3828,"toc":3829},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3830},[],{"id":3639,"category":3424,"definition":3640,"example":3641,"extension":1333,"meta":3832,"stem":3647,"term":3648,"__hash__":3649},{"body":3833},{"type":7,"value":3834,"toc":3835},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3836},[],{"id":3651,"category":3349,"definition":3652,"example":3653,"extension":1333,"meta":3838,"stem":3659,"term":3660,"__hash__":3661},{"body":3839},{"type":7,"value":3840,"toc":3841},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3842},[],{"id":3472,"category":3290,"definition":3473,"example":3474,"extension":1333,"meta":3844,"stem":3480,"term":27,"__hash__":3481},{"body":3845},{"type":7,"value":3846,"toc":3847},[],{"title":1328,"searchDepth":1329,"depth":1329,"links":3848},[],1790263488012]