[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:06.52,0:00:09.59,Default,,0000,0000,0000,,[Music] Dialogue: 0,0:00:23.68,0:00:29.93,Default,,0000,0000,0000,,[Music] Dialogue: 0,0:00:38.28,0:00:40.88,Default,,0000,0000,0000,,hello and welcome to our BBC microbic Dialogue: 0,0:00:40.88,0:00:44.44,Default,,0000,0000,0000,,Global codal my name is Giles and my Dialogue: 0,0:00:44.44,0:00:46.24,Default,,0000,0000,0000,,name is blaed and we are part of the Dialogue: 0,0:00:46.24,0:00:48.40,Default,,0000,0000,0000,,Education team here at the microbit Dialogue: 0,0:00:48.40,0:00:51.44,Default,,0000,0000,0000,,Educational Foundation now does anyone Dialogue: 0,0:00:51.44,0:00:55.08,Default,,0000,0000,0000,,know the theme of today's Cod along here Dialogue: 0,0:00:55.08,0:00:57.92,Default,,0000,0000,0000,,are a few Dialogue: 0,0:00:58.12,0:01:01.72,Default,,0000,0000,0000,,Clues there a butterfly Dialogue: 0,0:01:01.72,0:01:06.40,Default,,0000,0000,0000,,F uh oh okay that looks like some Dialogue: 0,0:01:06.40,0:01:10.40,Default,,0000,0000,0000,,flowers well that's definitely a Dialogue: 0,0:01:11.32,0:01:15.16,Default,,0000,0000,0000,,tree oh my goodness a very large Robin a Dialogue: 0,0:01:15.16,0:01:17.20,Default,,0000,0000,0000,,very large Dialogue: 0,0:01:17.20,0:01:20.48,Default,,0000,0000,0000,,bird so well done anyone watching if you Dialogue: 0,0:01:20.48,0:01:23.08,Default,,0000,0000,0000,,have shouted out the theme is Dialogue: 0,0:01:23.08,0:01:25.60,Default,,0000,0000,0000,,biodiversity happy International Day for Dialogue: 0,0:01:25.60,0:01:29.28,Default,,0000,0000,0000,,biological diversity um or International Dialogue: 0,0:01:29.28,0:01:31.04,Default,,0000,0000,0000,,Day for bio biodiversity as it can be Dialogue: 0,0:01:31.04,0:01:34.72,Default,,0000,0000,0000,,shortened to the United Nations theme uh Dialogue: 0,0:01:34.72,0:01:37.44,Default,,0000,0000,0000,,this year is all about building back Dialogue: 0,0:01:37.44,0:01:40.24,Default,,0000,0000,0000,,biodiversity because we all depend on a Dialogue: 0,0:01:40.24,0:01:46.04,Default,,0000,0000,0000,,wide variety of plants and animals and Dialogue: 0,0:01:46.04,0:01:48.88,Default,,0000,0000,0000,,microorganisms to keep us all healthy Dialogue: 0,0:01:48.88,0:01:52.36,Default,,0000,0000,0000,,and thriving so in today's codal along Dialogue: 0,0:01:52.36,0:01:54.60,Default,,0000,0000,0000,,you are going to be doing your bit as Dialogue: 0,0:01:54.60,0:01:56.04,Default,,0000,0000,0000,,well because you are going to be Dialogue: 0,0:01:56.04,0:01:58.96,Default,,0000,0000,0000,,building back bio biodiversity too by Dialogue: 0,0:01:58.96,0:02:01.68,Default,,0000,0000,0000,,creating a bi biodiversity counter that Dialogue: 0,0:02:01.68,0:02:03.92,Default,,0000,0000,0000,,can be used in your school playground or Dialogue: 0,0:02:03.92,0:02:06.32,Default,,0000,0000,0000,,any other outdoor area you have near Dialogue: 0,0:02:06.32,0:02:09.52,Default,,0000,0000,0000,,your school and as today is UN day for Dialogue: 0,0:02:09.52,0:02:12.60,Default,,0000,0000,0000,,biodiversity the plan is to create uh Dialogue: 0,0:02:12.60,0:02:15.72,Default,,0000,0000,0000,,the project in the make code editor but Dialogue: 0,0:02:15.72,0:02:17.64,Default,,0000,0000,0000,,then to transfer the code onto the Dialogue: 0,0:02:17.64,0:02:20.24,Default,,0000,0000,0000,,microbit and use them outside to count Dialogue: 0,0:02:20.24,0:02:22.00,Default,,0000,0000,0000,,the number of species of animals and Dialogue: 0,0:02:22.00,0:02:24.64,Default,,0000,0000,0000,,species of plants that you can spot you Dialogue: 0,0:02:24.64,0:02:26.56,Default,,0000,0000,0000,,don't need a microbit to take part in Dialogue: 0,0:02:26.56,0:02:28.52,Default,,0000,0000,0000,,this session as we will be making good Dialogue: 0,0:02:28.52,0:02:30.48,Default,,0000,0000,0000,,use of the simulator on make code Dialogue: 0,0:02:30.48,0:02:33.04,Default,,0000,0000,0000,,website but if you do have microbits Dialogue: 0,0:02:33.04,0:02:34.60,Default,,0000,0000,0000,,then make sure you have them out ready Dialogue: 0,0:02:34.60,0:02:36.72,Default,,0000,0000,0000,,to put the code on at the end of the Dialogue: 0,0:02:36.72,0:02:39.12,Default,,0000,0000,0000,,session and in today's session we're Dialogue: 0,0:02:39.12,0:02:41.56,Default,,0000,0000,0000,,going to be coding along together make Dialogue: 0,0:02:41.56,0:02:44.16,Default,,0000,0000,0000,,sure that you pause the video whenever Dialogue: 0,0:02:44.16,0:02:46.48,Default,,0000,0000,0000,,you need to and you can replay parts Dialogue: 0,0:02:46.48,0:02:49.64,Default,,0000,0000,0000,,that you need to hear over again I'm Dialogue: 0,0:02:49.64,0:02:51.20,Default,,0000,0000,0000,,really excited that we're coding the Dialogue: 0,0:02:51.20,0:02:53.44,Default,,0000,0000,0000,,biodiversity cter together so students Dialogue: 0,0:02:53.44,0:02:55.20,Default,,0000,0000,0000,,all over the world can see what their Dialogue: 0,0:02:55.20,0:02:58.52,Default,,0000,0000,0000,,local biodiversity is like if you have a Dialogue: 0,0:02:58.52,0:03:01.08,Default,,0000,0000,0000,,school Twitter or X account then make Dialogue: 0,0:03:01.08,0:03:05.04,Default,,0000,0000,0000,,sure you share how you get on you can Dialogue: 0,0:03:05.04,0:03:10.24,Default,,0000,0000,0000,,tag us we are at microbit uncore edu Dialogue: 0,0:03:10.24,0:03:14.32,Default,,0000,0000,0000,,that's microbit uncore edu on Twitter or Dialogue: 0,0:03:14.32,0:03:17.52,Default,,0000,0000,0000,,X that's a really good idea J it will be Dialogue: 0,0:03:17.52,0:03:19.72,Default,,0000,0000,0000,,lovely to see how different classes and Dialogue: 0,0:03:19.72,0:03:22.60,Default,,0000,0000,0000,,schools get on in their environments so Dialogue: 0,0:03:22.60,0:03:25.28,Default,,0000,0000,0000,,I think we're ready to get started Giles Dialogue: 0,0:03:25.28,0:03:26.64,Default,,0000,0000,0000,,can you think of anything else we need Dialogue: 0,0:03:26.64,0:03:29.36,Default,,0000,0000,0000,,to mention before we start coding I Dialogue: 0,0:03:29.36,0:03:31.80,Default,,0000,0000,0000,,think as we're making a species counter Dialogue: 0,0:03:31.80,0:03:33.32,Default,,0000,0000,0000,,I think it would be really good just to Dialogue: 0,0:03:33.32,0:03:35.32,Default,,0000,0000,0000,,make sure that everyone knows exactly Dialogue: 0,0:03:35.32,0:03:39.20,Default,,0000,0000,0000,,what a species is great call Giles okay Dialogue: 0,0:03:39.20,0:03:42.16,Default,,0000,0000,0000,,so a species is a set of animals or Dialogue: 0,0:03:42.16,0:03:45.04,Default,,0000,0000,0000,,plants who have similar characteristics Dialogue: 0,0:03:45.04,0:03:46.96,Default,,0000,0000,0000,,to each other so they all look similar Dialogue: 0,0:03:46.96,0:03:48.32,Default,,0000,0000,0000,,to each other and they have similar Dialogue: 0,0:03:48.32,0:03:50.68,Default,,0000,0000,0000,,characteristics so for Dialogue: 0,0:03:50.68,0:03:53.40,Default,,0000,0000,0000,,example let's look at these pictures Dialogue: 0,0:03:53.40,0:03:56.28,Default,,0000,0000,0000,,here so let me just remove this so that Dialogue: 0,0:03:56.28,0:04:00.24,Default,,0000,0000,0000,,you can see it better there we go so so Dialogue: 0,0:04:00.24,0:04:02.92,Default,,0000,0000,0000,,um in the in the slide here we've got Dialogue: 0,0:04:02.92,0:04:05.60,Default,,0000,0000,0000,,lots of different animals but how many Dialogue: 0,0:04:05.60,0:04:08.32,Default,,0000,0000,0000,,species have we got Giles oh that's a Dialogue: 0,0:04:08.32,0:04:09.92,Default,,0000,0000,0000,,really interesting question it's quite Dialogue: 0,0:04:09.92,0:04:11.72,Default,,0000,0000,0000,,tricky actually um I'm going to start Dialogue: 0,0:04:11.72,0:04:13.88,Default,,0000,0000,0000,,with the ones that all look the same so Dialogue: 0,0:04:13.88,0:04:17.20,Default,,0000,0000,0000,,I can see some snails there um some in Dialogue: 0,0:04:17.20,0:04:19.64,Default,,0000,0000,0000,,their shells some out of their shells so Dialogue: 0,0:04:19.64,0:04:21.76,Default,,0000,0000,0000,,I think the three pictures of snails Dialogue: 0,0:04:21.76,0:04:23.48,Default,,0000,0000,0000,,that's one Dialogue: 0,0:04:23.48,0:04:27.20,Default,,0000,0000,0000,,species um I can see Robin again a bird Dialogue: 0,0:04:27.20,0:04:28.80,Default,,0000,0000,0000,,and I don't see any other birds on there Dialogue: 0,0:04:28.80,0:04:31.16,Default,,0000,0000,0000,,so I think that's probably another Dialogue: 0,0:04:31.16,0:04:35.84,Default,,0000,0000,0000,,species um we've got oh two butterflies Dialogue: 0,0:04:35.84,0:04:38.96,Default,,0000,0000,0000,,so I think two butterflies uh probably Dialogue: 0,0:04:38.96,0:04:43.20,Default,,0000,0000,0000,,one more species and then I can see a Dialogue: 0,0:04:43.20,0:04:47.00,Default,,0000,0000,0000,,fly and I can see a worms so I think Dialogue: 0,0:04:47.00,0:04:49.76,Default,,0000,0000,0000,,have we got five species there blonded Dialogue: 0,0:04:49.76,0:04:53.36,Default,,0000,0000,0000,,well done yes I think that is spot on Dialogue: 0,0:04:53.36,0:04:54.84,Default,,0000,0000,0000,,and that means that everyone is very Dialogue: 0,0:04:54.84,0:04:56.76,Default,,0000,0000,0000,,clear and everyone can be super accurate Dialogue: 0,0:04:56.76,0:04:58.32,Default,,0000,0000,0000,,when they go out and they start logging Dialogue: 0,0:04:58.32,0:05:01.56,Default,,0000,0000,0000,,their species later thanks chares so Dialogue: 0,0:05:01.56,0:05:05.72,Default,,0000,0000,0000,,let's get coding um so the what we're Dialogue: 0,0:05:05.72,0:05:07.16,Default,,0000,0000,0000,,going to do is we're going to bring you Dialogue: 0,0:05:07.16,0:05:09.72,Default,,0000,0000,0000,,to the makecode editor Dialogue: 0,0:05:09.72,0:05:13.00,Default,,0000,0000,0000,,website so um you'll find that you can Dialogue: 0,0:05:13.00,0:05:15.32,Default,,0000,0000,0000,,see it on the banner now at make code. Dialogue: 0,0:05:15.32,0:05:18.08,Default,,0000,0000,0000,,microbit Dialogue: 0,0:05:29.72,0:05:31.52,Default,,0000,0000,0000,,you can get started with right away Dialogue: 0,0:05:31.52,0:05:34.52,Default,,0000,0000,0000,,without needing any logins or passwords Dialogue: 0,0:05:34.52,0:05:36.28,Default,,0000,0000,0000,,and so on so there is a sign-in button Dialogue: 0,0:05:36.28,0:05:37.80,Default,,0000,0000,0000,,on the top right so schools with Dialogue: 0,0:05:37.80,0:05:39.96,Default,,0000,0000,0000,,Microsoft or Google logins can use that Dialogue: 0,0:05:39.96,0:05:41.68,Default,,0000,0000,0000,,but we don't need to we can jump Dialogue: 0,0:05:41.68,0:05:44.16,Default,,0000,0000,0000,,straight in um now I've got some Dialogue: 0,0:05:44.16,0:05:46.20,Default,,0000,0000,0000,,projects showing here because I've used Dialogue: 0,0:05:46.20,0:05:48.04,Default,,0000,0000,0000,,it before if it's your first time you Dialogue: 0,0:05:48.04,0:05:50.44,Default,,0000,0000,0000,,might not have that but you will have Dialogue: 0,0:05:50.44,0:05:52.48,Default,,0000,0000,0000,,new project the new project button and Dialogue: 0,0:05:52.48,0:05:53.80,Default,,0000,0000,0000,,that's what we're going to jump straight Dialogue: 0,0:05:53.80,0:05:56.76,Default,,0000,0000,0000,,into also in the settings on make code Dialogue: 0,0:05:56.76,0:05:58.56,Default,,0000,0000,0000,,in the top right there's a little Cog Dialogue: 0,0:05:58.56,0:06:00.72,Default,,0000,0000,0000,,here next to the sign-in button that's Dialogue: 0,0:06:00.72,0:06:02.56,Default,,0000,0000,0000,,where you'll find different languages if Dialogue: 0,0:06:02.56,0:06:04.68,Default,,0000,0000,0000,,you want to change the language to to Dialogue: 0,0:06:04.68,0:06:09.40,Default,,0000,0000,0000,,your local language so click on new Dialogue: 0,0:06:09.40,0:06:11.68,Default,,0000,0000,0000,,project and the first thing it does is Dialogue: 0,0:06:11.68,0:06:14.12,Default,,0000,0000,0000,,asks me to give it a name so if you're Dialogue: 0,0:06:14.12,0:06:16.68,Default,,0000,0000,0000,,doing the same project as the CL it's a Dialogue: 0,0:06:16.68,0:06:19.12,Default,,0000,0000,0000,,really good idea to make sure that your Dialogue: 0,0:06:19.12,0:06:21.40,Default,,0000,0000,0000,,name or your student name is is is Dialogue: 0,0:06:21.40,0:06:24.36,Default,,0000,0000,0000,,included in the project name and today Dialogue: 0,0:06:24.36,0:06:28.00,Default,,0000,0000,0000,,we're making a biodiversity counter so Dialogue: 0,0:06:28.00,0:06:29.84,Default,,0000,0000,0000,,I'm going to name my project blana Dialogue: 0,0:06:29.84,0:06:33.80,Default,,0000,0000,0000,,biodiversity counter and click on Dialogue: 0,0:06:33.80,0:06:36.52,Default,,0000,0000,0000,,create okay so this has opened up the Dialogue: 0,0:06:36.52,0:06:39.80,Default,,0000,0000,0000,,make code editor so we can see that Dialogue: 0,0:06:39.80,0:06:41.76,Default,,0000,0000,0000,,there's some blocks of code already in Dialogue: 0,0:06:41.76,0:06:43.40,Default,,0000,0000,0000,,the workspace here on the right now I'm Dialogue: 0,0:06:43.40,0:06:45.12,Default,,0000,0000,0000,,going to make that a little bit bigger Dialogue: 0,0:06:45.12,0:06:47.12,Default,,0000,0000,0000,,by using this plus sign in the bottom Dialogue: 0,0:06:47.12,0:06:49.24,Default,,0000,0000,0000,,right hand side going to zoom in on my Dialogue: 0,0:06:49.24,0:06:51.80,Default,,0000,0000,0000,,blocks of code a little bit do you think Dialogue: 0,0:06:51.80,0:06:53.72,Default,,0000,0000,0000,,that's large enough Giles I think so I Dialogue: 0,0:06:53.72,0:06:55.00,Default,,0000,0000,0000,,can see that really clearly thank you Dialogue: 0,0:06:55.00,0:06:58.08,Default,,0000,0000,0000,,blet okay brilliant so um this is the Dialogue: 0,0:06:58.08,0:06:59.60,Default,,0000,0000,0000,,workspace this is where you can draw Dialogue: 0,0:06:59.60,0:07:01.64,Default,,0000,0000,0000,,drag blocks of codee around and you drag Dialogue: 0,0:07:01.64,0:07:03.68,Default,,0000,0000,0000,,them in from the toolbox over here and Dialogue: 0,0:07:03.68,0:07:06.20,Default,,0000,0000,0000,,you build your code in this space now we Dialogue: 0,0:07:06.20,0:07:08.16,Default,,0000,0000,0000,,won't need the forever block for our Dialogue: 0,0:07:08.16,0:07:09.56,Default,,0000,0000,0000,,project today so I'm actually going to Dialogue: 0,0:07:09.56,0:07:11.16,Default,,0000,0000,0000,,show you how to delete the blocks as Dialogue: 0,0:07:11.16,0:07:14.92,Default,,0000,0000,0000,,well by dragging them onto the uh the Dialogue: 0,0:07:14.92,0:07:17.08,Default,,0000,0000,0000,,the menu here or the toolbox and then Dialogue: 0,0:07:17.08,0:07:19.08,Default,,0000,0000,0000,,just letting go and it will delete a Dialogue: 0,0:07:19.08,0:07:22.40,Default,,0000,0000,0000,,block um when you have a look inside Dialogue: 0,0:07:22.40,0:07:24.12,Default,,0000,0000,0000,,this menu you can see that there's lots Dialogue: 0,0:07:24.12,0:07:27.08,Default,,0000,0000,0000,,of pre-prepared blocks of code ready to Dialogue: 0,0:07:27.08,0:07:29.72,Default,,0000,0000,0000,,go you don't need to have to know what Dialogue: 0,0:07:29.72,0:07:32.16,Default,,0000,0000,0000,,to type like you would in a text based Dialogue: 0,0:07:32.16,0:07:34.80,Default,,0000,0000,0000,,um editor you can just take the blocks Dialogue: 0,0:07:34.80,0:07:36.64,Default,,0000,0000,0000,,and you can drag and drop them onto the Dialogue: 0,0:07:36.64,0:07:38.52,Default,,0000,0000,0000,,workspace as you need Dialogue: 0,0:07:38.52,0:07:41.36,Default,,0000,0000,0000,,them um on the left hand side here we've Dialogue: 0,0:07:41.36,0:07:44.32,Default,,0000,0000,0000,,also got the simulator so we'll be using Dialogue: 0,0:07:44.32,0:07:46.24,Default,,0000,0000,0000,,this today to check that everything is Dialogue: 0,0:07:46.24,0:07:48.84,Default,,0000,0000,0000,,working before we put our code on our Dialogue: 0,0:07:48.84,0:07:51.92,Default,,0000,0000,0000,,microbit and take them outside to do our Dialogue: 0,0:07:51.92,0:07:55.72,Default,,0000,0000,0000,,biodiversity logging um we'll also be Dialogue: 0,0:07:55.72,0:07:58.36,Default,,0000,0000,0000,,using the download button we just take Dialogue: 0,0:07:58.36,0:08:00.04,Default,,0000,0000,0000,,off the banner for a second perfect Dialogue: 0,0:08:00.04,0:08:02.36,Default,,0000,0000,0000,,thank you Giles so the download button Dialogue: 0,0:08:02.36,0:08:04.12,Default,,0000,0000,0000,,here bottom left that will be used at Dialogue: 0,0:08:04.12,0:08:07.16,Default,,0000,0000,0000,,the end of the session so that we uh can Dialogue: 0,0:08:07.16,0:08:10.84,Default,,0000,0000,0000,,put our code onto our microbit so we Dialogue: 0,0:08:10.84,0:08:12.92,Default,,0000,0000,0000,,will if I just show you on my screen let Dialogue: 0,0:08:12.92,0:08:17.48,Default,,0000,0000,0000,,me get a view of me on the screen Dialogue: 0,0:08:17.56,0:08:20.84,Default,,0000,0000,0000,,second so on the microbit here we will Dialogue: 0,0:08:20.84,0:08:23.16,Default,,0000,0000,0000,,use the USB lead we will plug that into Dialogue: 0,0:08:23.16,0:08:25.00,Default,,0000,0000,0000,,our computer and we'll plug the other Dialogue: 0,0:08:25.00,0:08:26.96,Default,,0000,0000,0000,,end into our microbit and we will press Dialogue: 0,0:08:26.96,0:08:28.56,Default,,0000,0000,0000,,download and we will put the code on the Dialogue: 0,0:08:28.56,0:08:30.72,Default,,0000,0000,0000,,microbit and then attach the battery Dialogue: 0,0:08:30.72,0:08:32.56,Default,,0000,0000,0000,,pack so that we can bring it outside Dialogue: 0,0:08:32.56,0:08:36.32,Default,,0000,0000,0000,,into the environment and uh code and use Dialogue: 0,0:08:36.32,0:08:40.28,Default,,0000,0000,0000,,the code we have created that way okay Dialogue: 0,0:08:40.28,0:08:42.80,Default,,0000,0000,0000,,so coming back to our project that we're Dialogue: 0,0:08:42.80,0:08:45.84,Default,,0000,0000,0000,,going to create today um I'm going to Dialogue: 0,0:08:45.84,0:08:48.40,Default,,0000,0000,0000,,stop here and have a little think about Dialogue: 0,0:08:48.40,0:08:51.48,Default,,0000,0000,0000,,what my program is going to do I want to Dialogue: 0,0:08:51.48,0:08:54.56,Default,,0000,0000,0000,,use my microbit in the playground ler to Dialogue: 0,0:08:54.56,0:08:57.28,Default,,0000,0000,0000,,count two different things the number of Dialogue: 0,0:08:57.28,0:08:59.20,Default,,0000,0000,0000,,animal species and the number of plant Dialogue: 0,0:08:59.20,0:09:01.56,Default,,0000,0000,0000,,species species I want the microbit to Dialogue: 0,0:09:01.56,0:09:03.88,Default,,0000,0000,0000,,count for me and remember how many of Dialogue: 0,0:09:03.88,0:09:05.20,Default,,0000,0000,0000,,these species I spotted because there's Dialogue: 0,0:09:05.20,0:09:06.80,Default,,0000,0000,0000,,absolutely no way I'm going to keep all Dialogue: 0,0:09:06.80,0:09:09.68,Default,,0000,0000,0000,,that information in my head so I want Dialogue: 0,0:09:09.68,0:09:11.64,Default,,0000,0000,0000,,the microbit to remember the information Dialogue: 0,0:09:11.64,0:09:14.08,Default,,0000,0000,0000,,or the data so that means I need to Dialogue: 0,0:09:14.08,0:09:17.80,Default,,0000,0000,0000,,create two different variables so in the Dialogue: 0,0:09:17.80,0:09:21.16,Default,,0000,0000,0000,,toolbox here we've got variables as a Dialogue: 0,0:09:21.16,0:09:24.32,Default,,0000,0000,0000,,red menu section of the menu so if I Dialogue: 0,0:09:24.32,0:09:26.68,Default,,0000,0000,0000,,click on variables you'll see it gives Dialogue: 0,0:09:26.68,0:09:28.72,Default,,0000,0000,0000,,me one option right now and that is to Dialogue: 0,0:09:28.72,0:09:31.24,Default,,0000,0000,0000,,make a variable able so variables are Dialogue: 0,0:09:31.24,0:09:33.00,Default,,0000,0000,0000,,like containers they will hold different Dialogue: 0,0:09:33.00,0:09:34.68,Default,,0000,0000,0000,,pieces of information and they will keep Dialogue: 0,0:09:34.68,0:09:37.16,Default,,0000,0000,0000,,updating as we use the microbit and add Dialogue: 0,0:09:37.16,0:09:38.12,Default,,0000,0000,0000,,more Dialogue: 0,0:09:38.12,0:09:41.24,Default,,0000,0000,0000,,information so the two uh variables I Dialogue: 0,0:09:41.24,0:09:44.12,Default,,0000,0000,0000,,want to create today are I click on make Dialogue: 0,0:09:44.12,0:09:45.64,Default,,0000,0000,0000,,a variable and then I name them so I'm Dialogue: 0,0:09:45.64,0:09:48.20,Default,,0000,0000,0000,,going to call my first one animal Dialogue: 0,0:09:48.20,0:09:51.40,Default,,0000,0000,0000,,species and click okay and then I'm Dialogue: 0,0:09:51.40,0:09:53.52,Default,,0000,0000,0000,,going to oh you see straight away some Dialogue: 0,0:09:53.52,0:09:56.08,Default,,0000,0000,0000,,Co some blocks of code have appeared Dialogue: 0,0:09:56.08,0:09:57.52,Default,,0000,0000,0000,,because I've created this variable so Dialogue: 0,0:09:57.52,0:09:58.88,Default,,0000,0000,0000,,we've got some other blocks of code here Dialogue: 0,0:09:58.88,0:10:02.16,Default,,0000,0000,0000,,we can use later and then I click on Dialogue: 0,0:10:02.16,0:10:03.92,Default,,0000,0000,0000,,make a variable again and I'm going to Dialogue: 0,0:10:03.92,0:10:05.88,Default,,0000,0000,0000,,call this plant Dialogue: 0,0:10:05.88,0:10:09.88,Default,,0000,0000,0000,,species and click on okay so now I've Dialogue: 0,0:10:09.88,0:10:14.00,Default,,0000,0000,0000,,got options to use these blocks of code Dialogue: 0,0:10:14.00,0:10:17.64,Default,,0000,0000,0000,,to change it from animal to plant when I Dialogue: 0,0:10:17.64,0:10:20.32,Default,,0000,0000,0000,,need it and I've made my two variables Dialogue: 0,0:10:20.32,0:10:21.96,Default,,0000,0000,0000,,if I go back into variables here I can Dialogue: 0,0:10:21.96,0:10:23.80,Default,,0000,0000,0000,,see them sitting here animal species and Dialogue: 0,0:10:23.80,0:10:24.88,Default,,0000,0000,0000,,plant Dialogue: 0,0:10:24.88,0:10:28.00,Default,,0000,0000,0000,,species okay so let me just delete that Dialogue: 0,0:10:28.00,0:10:31.04,Default,,0000,0000,0000,,properly there we go Dialogue: 0,0:10:31.04,0:10:34.24,Default,,0000,0000,0000,,so everyone approaches coding a little Dialogue: 0,0:10:34.24,0:10:35.96,Default,,0000,0000,0000,,bit differently and sometimes there are Dialogue: 0,0:10:35.96,0:10:37.44,Default,,0000,0000,0000,,different ways to achieve the same Dialogue: 0,0:10:37.44,0:10:39.92,Default,,0000,0000,0000,,things so Giles what would you do next Dialogue: 0,0:10:39.92,0:10:41.88,Default,,0000,0000,0000,,now that we've created the variables Dialogue: 0,0:10:41.88,0:10:43.32,Default,,0000,0000,0000,,well I was just thinking about that when Dialogue: 0,0:10:43.32,0:10:45.80,Default,,0000,0000,0000,,I turn on my mic a bit and the program Dialogue: 0,0:10:45.80,0:10:49.32,Default,,0000,0000,0000,,starts I won't have counted any Vari I Dialogue: 0,0:10:49.32,0:10:51.20,Default,,0000,0000,0000,,won't have counted any animal species or Dialogue: 0,0:10:51.20,0:10:53.92,Default,,0000,0000,0000,,plant species yet so I'm thinking Dialogue: 0,0:10:53.92,0:10:56.76,Default,,0000,0000,0000,,whether it's a good idea to set both Dialogue: 0,0:10:56.76,0:11:00.24,Default,,0000,0000,0000,,variables to zero so what I might do is Dialogue: 0,0:11:00.24,0:11:03.32,Default,,0000,0000,0000,,I might go into the variables Dialogue: 0,0:11:03.32,0:11:07.56,Default,,0000,0000,0000,,menu and take set plant species to zero Dialogue: 0,0:11:07.56,0:11:11.08,Default,,0000,0000,0000,,and drag that into the on block anything Dialogue: 0,0:11:11.08,0:11:13.76,Default,,0000,0000,0000,,you put in the onstart block will um the Dialogue: 0,0:11:13.76,0:11:15.88,Default,,0000,0000,0000,,microbit will carry out that instruction Dialogue: 0,0:11:15.88,0:11:17.64,Default,,0000,0000,0000,,when the program starts running so it's Dialogue: 0,0:11:17.64,0:11:20.32,Default,,0000,0000,0000,,going to set the zero uh set the plant Dialogue: 0,0:11:20.32,0:11:22.48,Default,,0000,0000,0000,,species to zero at the start of the Dialogue: 0,0:11:22.48,0:11:25.96,Default,,0000,0000,0000,,program then I drag the same block again Dialogue: 0,0:11:25.96,0:11:29.04,Default,,0000,0000,0000,,so I go back into variables and drag out Dialogue: 0,0:11:29.04,0:11:31.36,Default,,0000,0000,0000,,set plant species to zero again but I'm Dialogue: 0,0:11:31.36,0:11:35.04,Default,,0000,0000,0000,,going to change maybe plant species to Dialogue: 0,0:11:35.04,0:11:36.12,Default,,0000,0000,0000,,animal Dialogue: 0,0:11:36.12,0:11:39.48,Default,,0000,0000,0000,,species so we have plant species and Dialogue: 0,0:11:39.48,0:11:41.72,Default,,0000,0000,0000,,animal species both set to zero at the Dialogue: 0,0:11:41.72,0:11:43.32,Default,,0000,0000,0000,,start of the program do you think that's Dialogue: 0,0:11:43.32,0:11:46.60,Default,,0000,0000,0000,,a good idea blet yes definitely I would Dialogue: 0,0:11:46.60,0:11:48.16,Default,,0000,0000,0000,,I would have done the same thing at this Dialogue: 0,0:11:48.16,0:11:50.00,Default,,0000,0000,0000,,point for sure to make sure that the Dialogue: 0,0:11:50.00,0:11:51.92,Default,,0000,0000,0000,,microbit knows to start counting from Dialogue: 0,0:11:51.92,0:11:54.52,Default,,0000,0000,0000,,zero for each of those variables there's Dialogue: 0,0:11:54.52,0:11:56.76,Default,,0000,0000,0000,,one other thing I do as well um there's Dialogue: 0,0:11:56.76,0:11:58.72,Default,,0000,0000,0000,,nothing on the screen of the microbit Dialogue: 0,0:11:58.72,0:12:00.68,Default,,0000,0000,0000,,when you turn on at the moment and I Dialogue: 0,0:12:00.68,0:12:02.64,Default,,0000,0000,0000,,think it would be useful to also show a Dialogue: 0,0:12:02.64,0:12:04.96,Default,,0000,0000,0000,,zero on the screen so I'm going to add Dialogue: 0,0:12:04.96,0:12:07.52,Default,,0000,0000,0000,,in that instruction I'm going to go into Dialogue: 0,0:12:07.52,0:12:10.60,Default,,0000,0000,0000,,the basic menu so the menus are all Dialogue: 0,0:12:10.60,0:12:13.28,Default,,0000,0000,0000,,colorcoded and blue blocks are from the Dialogue: 0,0:12:13.28,0:12:15.40,Default,,0000,0000,0000,,basic menu I'm going to take the first Dialogue: 0,0:12:15.40,0:12:17.72,Default,,0000,0000,0000,,one here show number and I'm going to Dialogue: 0,0:12:17.72,0:12:20.80,Default,,0000,0000,0000,,drag that in to the onart block here Dialogue: 0,0:12:20.80,0:12:23.00,Default,,0000,0000,0000,,it's already got the number zero in it Dialogue: 0,0:12:23.00,0:12:25.12,Default,,0000,0000,0000,,and now you can see the simulator has Dialogue: 0,0:12:25.12,0:12:27.72,Default,,0000,0000,0000,,updated and when my mic bit starts it Dialogue: 0,0:12:27.72,0:12:31.60,Default,,0000,0000,0000,,will show a zero on the screen as well Dialogue: 0,0:12:31.60,0:12:34.04,Default,,0000,0000,0000,,okay so let's have a quick recap to to Dialogue: 0,0:12:34.04,0:12:35.68,Default,,0000,0000,0000,,make sure that everyone is keeping up Dialogue: 0,0:12:35.68,0:12:37.56,Default,,0000,0000,0000,,when they're coding along in their Dialogue: 0,0:12:37.56,0:12:40.00,Default,,0000,0000,0000,,classrooms so have you made your Dialogue: 0,0:12:40.00,0:12:41.92,Default,,0000,0000,0000,,variables remember we went into Dialogue: 0,0:12:41.92,0:12:44.32,Default,,0000,0000,0000,,variables we clicked make a variable and Dialogue: 0,0:12:44.32,0:12:46.72,Default,,0000,0000,0000,,we made two one called animal species Dialogue: 0,0:12:46.72,0:12:50.12,Default,,0000,0000,0000,,and one called plant species okay have Dialogue: 0,0:12:50.12,0:12:52.80,Default,,0000,0000,0000,,you set your variables to zero we took Dialogue: 0,0:12:52.80,0:12:55.60,Default,,0000,0000,0000,,out this one set plant species to zero Dialogue: 0,0:12:55.60,0:12:56.96,Default,,0000,0000,0000,,and we used it Dialogue: 0,0:12:56.96,0:12:59.48,Default,,0000,0000,0000,,twice but we changed it using the drop Dialogue: 0,0:12:59.48,0:13:01.40,Default,,0000,0000,0000,,down menu from plant species to animal Dialogue: 0,0:13:01.40,0:13:04.92,Default,,0000,0000,0000,,species and we popped that into the Dialogue: 0,0:13:04.92,0:13:07.88,Default,,0000,0000,0000,,onstart block and then we added a zero Dialogue: 0,0:13:07.88,0:13:09.96,Default,,0000,0000,0000,,through using the show Number Block here Dialogue: 0,0:13:09.96,0:13:14.72,Default,,0000,0000,0000,,in the basic menu as well okay Dialogue: 0,0:13:14.72,0:13:16.64,Default,,0000,0000,0000,,so that Dialogue: 0,0:13:16.64,0:13:20.52,Default,,0000,0000,0000,,means we have got started but there's Dialogue: 0,0:13:20.52,0:13:23.44,Default,,0000,0000,0000,,two very important things that we need Dialogue: 0,0:13:23.44,0:13:25.92,Default,,0000,0000,0000,,to do next and they're both to do with Dialogue: 0,0:13:25.92,0:13:28.08,Default,,0000,0000,0000,,using the buttons on the microbit Dialogue: 0,0:13:28.08,0:13:29.48,Default,,0000,0000,0000,,because we're going to be using both Dialogue: 0,0:13:29.48,0:13:33.08,Default,,0000,0000,0000,,button a and button B uh that are on the Dialogue: 0,0:13:33.08,0:13:35.60,Default,,0000,0000,0000,,front of the microbit so we're going to Dialogue: 0,0:13:35.60,0:13:37.88,Default,,0000,0000,0000,,use one button to log data about animal Dialogue: 0,0:13:37.88,0:13:39.76,Default,,0000,0000,0000,,species and we're going to use another Dialogue: 0,0:13:39.76,0:13:41.68,Default,,0000,0000,0000,,button to log the data about plant Dialogue: 0,0:13:41.68,0:13:45.96,Default,,0000,0000,0000,,species so let's start with button a Dialogue: 0,0:13:45.96,0:13:48.08,Default,,0000,0000,0000,,here are a few Dialogue: 0,0:13:48.08,0:13:52.16,Default,,0000,0000,0000,,clues for what we're going to Dialogue: 0,0:13:52.16,0:13:54.88,Default,,0000,0000,0000,,use button a for any Dialogue: 0,0:13:54.88,0:13:59.88,Default,,0000,0000,0000,,ideas well um let me see we had uh a Dialogue: 0,0:13:59.88,0:14:03.04,Default,,0000,0000,0000,,butterfly we've had uh a bird and a Dialogue: 0,0:14:03.04,0:14:07.04,Default,,0000,0000,0000,,snail so I think a is going to be for Dialogue: 0,0:14:07.04,0:14:10.56,Default,,0000,0000,0000,,Animals correct yes A is for Animals is Dialogue: 0,0:14:10.56,0:14:13.36,Default,,0000,0000,0000,,animals that's easy to remember yes so Dialogue: 0,0:14:13.36,0:14:15.48,Default,,0000,0000,0000,,all the pictures are animals so button a Dialogue: 0,0:14:15.48,0:14:18.24,Default,,0000,0000,0000,,is going to lck the animal species so to Dialogue: 0,0:14:18.24,0:14:19.80,Default,,0000,0000,0000,,make something happen on the micob bit Dialogue: 0,0:14:19.80,0:14:22.24,Default,,0000,0000,0000,,when we press button a we will need the Dialogue: 0,0:14:22.24,0:14:24.68,Default,,0000,0000,0000,,on button a press block so you'll find Dialogue: 0,0:14:24.68,0:14:26.96,Default,,0000,0000,0000,,this in a new menu the the purple Dialogue: 0,0:14:26.96,0:14:29.84,Default,,0000,0000,0000,,purpley pink menu here called Dialogue: 0,0:14:29.84,0:14:32.60,Default,,0000,0000,0000,,if I go into that menu the very first Dialogue: 0,0:14:32.60,0:14:35.04,Default,,0000,0000,0000,,block is on button a press so let's pull Dialogue: 0,0:14:35.04,0:14:37.36,Default,,0000,0000,0000,,that out and put that into the Dialogue: 0,0:14:37.36,0:14:41.04,Default,,0000,0000,0000,,workspace okay so we want the animal Dialogue: 0,0:14:41.04,0:14:44.32,Default,,0000,0000,0000,,species uh variable to update by one Dialogue: 0,0:14:44.32,0:14:47.48,Default,,0000,0000,0000,,each time we press button a so that Dialogue: 0,0:14:47.48,0:14:49.00,Default,,0000,0000,0000,,means I need to go back into my Dialogue: 0,0:14:49.00,0:14:52.76,Default,,0000,0000,0000,,variables menu in here and I I'm looking Dialogue: 0,0:14:52.76,0:14:55.16,Default,,0000,0000,0000,,at the second block here I want to Dialogue: 0,0:14:55.16,0:14:57.64,Default,,0000,0000,0000,,change something by one when I press Dialogue: 0,0:14:57.64,0:15:00.92,Default,,0000,0000,0000,,button a now when I pull this out just Dialogue: 0,0:15:00.92,0:15:02.92,Default,,0000,0000,0000,,pop it there for a moment it it goes Dialogue: 0,0:15:02.92,0:15:04.24,Default,,0000,0000,0000,,this strange color because it's not Dialogue: 0,0:15:04.24,0:15:07.08,Default,,0000,0000,0000,,inside uh a working block at the moment Dialogue: 0,0:15:07.08,0:15:09.00,Default,,0000,0000,0000,,but I can still manipulate it here I can Dialogue: 0,0:15:09.00,0:15:10.72,Default,,0000,0000,0000,,still change it to what I want so I Dialogue: 0,0:15:10.72,0:15:12.60,Default,,0000,0000,0000,,actually want to change the animal Dialogue: 0,0:15:12.60,0:15:14.84,Default,,0000,0000,0000,,species on but a so I'm going to switch Dialogue: 0,0:15:14.84,0:15:17.76,Default,,0000,0000,0000,,that to animal species and I pop it Dialogue: 0,0:15:17.76,0:15:22.24,Default,,0000,0000,0000,,inside the on button a pressed block so Dialogue: 0,0:15:22.24,0:15:25.04,Default,,0000,0000,0000,,that means that the microbit will update Dialogue: 0,0:15:25.04,0:15:27.08,Default,,0000,0000,0000,,the total number of animal Dialogue: 0,0:15:27.08,0:15:31.72,Default,,0000,0000,0000,,species each time we press button a uh Dialogue: 0,0:15:31.72,0:15:34.72,Default,,0000,0000,0000,,on the micro bit Dialogue: 0,0:15:34.76,0:15:37.96,Default,,0000,0000,0000,,itself okay Planet I I got a question Dialogue: 0,0:15:37.96,0:15:40.00,Default,,0000,0000,0000,,here I I've been following along I've Dialogue: 0,0:15:40.00,0:15:41.88,Default,,0000,0000,0000,,got the same blocks as you but when I Dialogue: 0,0:15:41.88,0:15:45.56,Default,,0000,0000,0000,,press button a I just get zero on the Dialogue: 0,0:15:45.56,0:15:47.84,Default,,0000,0000,0000,,screen even though I keep pressing Dialogue: 0,0:15:47.84,0:15:50.64,Default,,0000,0000,0000,,button a have I done something wrong not Dialogue: 0,0:15:50.64,0:15:53.68,Default,,0000,0000,0000,,at all Giles um Dialogue: 0,0:15:53.68,0:15:56.56,Default,,0000,0000,0000,,I I have the same thing happening on my Dialogue: 0,0:15:56.56,0:16:00.44,Default,,0000,0000,0000,,mic bit on here so I might be pressing Dialogue: 0,0:16:00.44,0:16:02.52,Default,,0000,0000,0000,,on my simulator I might press butt a a Dialogue: 0,0:16:02.52,0:16:04.24,Default,,0000,0000,0000,,couple of times but my screen has not Dialogue: 0,0:16:04.24,0:16:06.64,Default,,0000,0000,0000,,changed so you have not done anything Dialogue: 0,0:16:06.64,0:16:09.84,Default,,0000,0000,0000,,wrong you just have not given the Dialogue: 0,0:16:09.84,0:16:12.12,Default,,0000,0000,0000,,microbit the instructions to do that Dialogue: 0,0:16:12.12,0:16:15.56,Default,,0000,0000,0000,,part yet okay the micr will only do what Dialogue: 0,0:16:15.56,0:16:18.16,Default,,0000,0000,0000,,you ask it to do if we want to see the Dialogue: 0,0:16:18.16,0:16:20.84,Default,,0000,0000,0000,,total on the LED display then we need to Dialogue: 0,0:16:20.84,0:16:22.36,Default,,0000,0000,0000,,put those instructions in and ask the Dialogue: 0,0:16:22.36,0:16:24.12,Default,,0000,0000,0000,,microbit to show it to us so let's add a Dialogue: 0,0:16:24.12,0:16:26.00,Default,,0000,0000,0000,,few more blocks to make that Dialogue: 0,0:16:26.00,0:16:30.88,Default,,0000,0000,0000,,happen so if we go into to um what are Dialogue: 0,0:16:30.88,0:16:32.44,Default,,0000,0000,0000,,we going to go we're going to go into Dialogue: 0,0:16:32.44,0:16:35.52,Default,,0000,0000,0000,,into basic first of all and we're going Dialogue: 0,0:16:35.52,0:16:39.40,Default,,0000,0000,0000,,to scroll down to the show icon block Dialogue: 0,0:16:39.40,0:16:42.32,Default,,0000,0000,0000,,okay so this will help us know that when Dialogue: 0,0:16:42.32,0:16:44.60,Default,,0000,0000,0000,,it shows us data on the LED display it's Dialogue: 0,0:16:44.60,0:16:48.84,Default,,0000,0000,0000,,talking about animal species data so I'm Dialogue: 0,0:16:48.84,0:16:51.44,Default,,0000,0000,0000,,going to pop that in here and I'm going Dialogue: 0,0:16:51.44,0:16:53.64,Default,,0000,0000,0000,,to change the icon from a heart to Dialogue: 0,0:16:53.64,0:16:55.48,Default,,0000,0000,0000,,something that resembles an animal Dialogue: 0,0:16:55.48,0:16:57.92,Default,,0000,0000,0000,,species so let's have a look got lots of Dialogue: 0,0:16:57.92,0:17:00.24,Default,,0000,0000,0000,,pre-prepared icons here right I'm going Dialogue: 0,0:17:00.24,0:17:02.68,Default,,0000,0000,0000,,to choose the duck so we've got a little Dialogue: 0,0:17:02.68,0:17:06.56,Default,,0000,0000,0000,,duck icon to to stand for our animal Dialogue: 0,0:17:06.56,0:17:09.64,Default,,0000,0000,0000,,species right um the next thing I'm Dialogue: 0,0:17:09.64,0:17:11.36,Default,,0000,0000,0000,,going to do is I'm going to go back into Dialogue: 0,0:17:11.36,0:17:13.28,Default,,0000,0000,0000,,basic and I'm going to take the show Dialogue: 0,0:17:13.28,0:17:15.44,Default,,0000,0000,0000,,number block again and I'm going to pop Dialogue: 0,0:17:15.44,0:17:18.40,Default,,0000,0000,0000,,it in below now this time I don't want Dialogue: 0,0:17:18.40,0:17:21.16,Default,,0000,0000,0000,,to the show Number Block to show us zero Dialogue: 0,0:17:21.16,0:17:23.20,Default,,0000,0000,0000,,I want it to show the total number of Dialogue: 0,0:17:23.20,0:17:25.88,Default,,0000,0000,0000,,animal species on the LED display so Dialogue: 0,0:17:25.88,0:17:29.04,Default,,0000,0000,0000,,I've got to go back into variables and Dialogue: 0,0:17:29.04,0:17:31.52,Default,,0000,0000,0000,,find my animal species block the small Dialogue: 0,0:17:31.52,0:17:34.44,Default,,0000,0000,0000,,one here so I take this out and you can Dialogue: 0,0:17:34.44,0:17:37.72,Default,,0000,0000,0000,,see how it can slot in over the zero and Dialogue: 0,0:17:37.72,0:17:41.28,Default,,0000,0000,0000,,replace it so we do that and then our Dialogue: 0,0:17:41.28,0:17:43.04,Default,,0000,0000,0000,,code will Dialogue: 0,0:17:43.04,0:17:46.52,Default,,0000,0000,0000,,update okay so now if we test if it's Dialogue: 0,0:17:46.52,0:17:48.68,Default,,0000,0000,0000,,working on the simulator it should work Dialogue: 0,0:17:48.68,0:17:51.00,Default,,0000,0000,0000,,this time but actually I've got an idea Dialogue: 0,0:17:51.00,0:17:53.88,Default,,0000,0000,0000,,to test that Giles so do you remember Dialogue: 0,0:17:53.88,0:17:57.00,Default,,0000,0000,0000,,this this slide that we looked at Dialogue: 0,0:17:57.00,0:18:01.32,Default,,0000,0000,0000,,earlier oh yeah was it again how many Dialogue: 0,0:18:01.32,0:18:03.56,Default,,0000,0000,0000,,times I press a if these were the Dialogue: 0,0:18:03.56,0:18:06.08,Default,,0000,0000,0000,,animals I'd seen outside oh gosh right Dialogue: 0,0:18:06.08,0:18:07.96,Default,,0000,0000,0000,,I'm trying to remember again we had Dialogue: 0,0:18:07.96,0:18:11.32,Default,,0000,0000,0000,,snails and uh that was one species and Dialogue: 0,0:18:11.32,0:18:12.92,Default,,0000,0000,0000,,then we had two butterflies but that's Dialogue: 0,0:18:12.92,0:18:14.52,Default,,0000,0000,0000,,only one more species because they're Dialogue: 0,0:18:14.52,0:18:17.00,Default,,0000,0000,0000,,both both the same species so that's one Dialogue: 0,0:18:17.00,0:18:21.24,Default,,0000,0000,0000,,more uh we had a bird and we've got a Dialogue: 0,0:18:21.24,0:18:23.44,Default,,0000,0000,0000,,fly and I've got a worm so I think it Dialogue: 0,0:18:23.44,0:18:26.16,Default,,0000,0000,0000,,was five different animal species that Dialogue: 0,0:18:26.16,0:18:29.84,Default,,0000,0000,0000,,we have there correct well done J yes so Dialogue: 0,0:18:29.84,0:18:33.16,Default,,0000,0000,0000,,on my simulator now I am going to press Dialogue: 0,0:18:33.16,0:18:35.40,Default,,0000,0000,0000,,a five times and let's see if we can see Dialogue: 0,0:18:35.40,0:18:38.04,Default,,0000,0000,0000,,something happening and Dialogue: 0,0:18:38.04,0:18:44.12,Default,,0000,0000,0000,,see yes there we go one two 3 Dialogue: 0,0:18:44.12,0:18:47.04,Default,,0000,0000,0000,,4 five so we've now given the correct Dialogue: 0,0:18:47.04,0:18:49.08,Default,,0000,0000,0000,,instructions yeah so we can see now that Dialogue: 0,0:18:49.08,0:18:50.92,Default,,0000,0000,0000,,when we log one it will give us some Dialogue: 0,0:18:50.92,0:18:52.96,Default,,0000,0000,0000,,feedback on the LED display to know that Dialogue: 0,0:18:52.96,0:18:56.92,Default,,0000,0000,0000,,it's happened um so if everyone has got Dialogue: 0,0:18:56.92,0:19:00.80,Default,,0000,0000,0000,,this part coded then that means we are Dialogue: 0,0:19:00.80,0:19:04.36,Default,,0000,0000,0000,,halfway there Dialogue: 0,0:19:05.48,0:19:07.28,Default,,0000,0000,0000,,yay Dialogue: 0,0:19:07.28,0:19:10.36,Default,,0000,0000,0000,,fantastic fantastic so we're halfway Dialogue: 0,0:19:10.36,0:19:12.80,Default,,0000,0000,0000,,there um and we've told the microb bit Dialogue: 0,0:19:12.80,0:19:14.40,Default,,0000,0000,0000,,what to do when we press button a when Dialogue: 0,0:19:14.40,0:19:17.48,Default,,0000,0000,0000,,we're counting animal species but we Dialogue: 0,0:19:17.48,0:19:20.60,Default,,0000,0000,0000,,haven't yet told it what to do when we Dialogue: 0,0:19:20.60,0:19:24.32,Default,,0000,0000,0000,,press button B now I wonder if anyone Dialogue: 0,0:19:24.32,0:19:27.60,Default,,0000,0000,0000,,can remember what are we going to count Dialogue: 0,0:19:27.60,0:19:30.00,Default,,0000,0000,0000,,when we press but button B can anyone Dialogue: 0,0:19:30.00,0:19:31.76,Default,,0000,0000,0000,,remember that Dialogue: 0,0:19:31.76,0:19:36.36,Default,,0000,0000,0000,,I ah right so we've got uh some flowers Dialogue: 0,0:19:36.36,0:19:37.84,Default,,0000,0000,0000,,we've got a Dialogue: 0,0:19:37.84,0:19:43.64,Default,,0000,0000,0000,,tree um oh and some more plants oh is it Dialogue: 0,0:19:43.64,0:19:45.16,Default,,0000,0000,0000,,plant species Dialogue: 0,0:19:45.16,0:19:48.00,Default,,0000,0000,0000,,Jiles might be plant species that we're Dialogue: 0,0:19:48.00,0:19:49.64,Default,,0000,0000,0000,,getting when we press button Dialogue: 0,0:19:49.64,0:19:52.24,Default,,0000,0000,0000,,D so what we want to do is we want to Dialogue: 0,0:19:52.24,0:19:55.64,Default,,0000,0000,0000,,use button B to to log plant species so Dialogue: 0,0:19:55.64,0:19:59.84,Default,,0000,0000,0000,,what we can do now is we can dup at or Dialogue: 0,0:19:59.84,0:20:02.96,Default,,0000,0000,0000,,copy the blocks that we have for button Dialogue: 0,0:20:02.96,0:20:04.88,Default,,0000,0000,0000,,a I wonder bled could you show us how to Dialogue: 0,0:20:04.88,0:20:05.96,Default,,0000,0000,0000,,do Dialogue: 0,0:20:05.96,0:20:07.96,Default,,0000,0000,0000,,that what do you can you just tell us Dialogue: 0,0:20:07.96,0:20:09.64,Default,,0000,0000,0000,,what you're doing there to get that that Dialogue: 0,0:20:09.64,0:20:12.24,Default,,0000,0000,0000,,menu to pop up yeah so I've put my Dialogue: 0,0:20:12.24,0:20:15.36,Default,,0000,0000,0000,,cursor over the entire block on button a Dialogue: 0,0:20:15.36,0:20:17.52,Default,,0000,0000,0000,,pressed and then I've right clicked and Dialogue: 0,0:20:17.52,0:20:19.52,Default,,0000,0000,0000,,then I get the menu at duplicate at the Dialogue: 0,0:20:19.52,0:20:21.24,Default,,0000,0000,0000,,top so you can duplicate that's one way Dialogue: 0,0:20:21.24,0:20:22.92,Default,,0000,0000,0000,,of doing it or you can just fetch the Dialogue: 0,0:20:22.92,0:20:25.36,Default,,0000,0000,0000,,blocks again uh from the toolbox in the Dialogue: 0,0:20:25.36,0:20:27.00,Default,,0000,0000,0000,,middle but just because it's quicker and Dialogue: 0,0:20:27.00,0:20:28.84,Default,,0000,0000,0000,,easier we're going to show you uh how to Dialogue: 0,0:20:28.84,0:20:30.60,Default,,0000,0000,0000,,duplicate so if you click on that and Dialogue: 0,0:20:30.60,0:20:32.72,Default,,0000,0000,0000,,duplicate the block you'll see again Dialogue: 0,0:20:32.72,0:20:34.44,Default,,0000,0000,0000,,like a bit like it did before the blocks Dialogue: 0,0:20:34.44,0:20:36.56,Default,,0000,0000,0000,,have gone a funny color uh and that's Dialogue: 0,0:20:36.56,0:20:39.52,Default,,0000,0000,0000,,because we've got two on button a press Dialogue: 0,0:20:39.52,0:20:41.92,Default,,0000,0000,0000,,blocks and we can only have one uh set Dialogue: 0,0:20:41.92,0:20:43.96,Default,,0000,0000,0000,,of instructions for what to do when you Dialogue: 0,0:20:43.96,0:20:45.68,Default,,0000,0000,0000,,press button a otherwise the microbit Dialogue: 0,0:20:45.68,0:20:48.16,Default,,0000,0000,0000,,will get really confused so first thing Dialogue: 0,0:20:48.16,0:20:51.36,Default,,0000,0000,0000,,we need to do is to change button a to Dialogue: 0,0:20:51.36,0:20:55.92,Default,,0000,0000,0000,,button B okay and then because we're not Dialogue: 0,0:20:55.92,0:20:57.72,Default,,0000,0000,0000,,counting animal species anymore we need Dialogue: 0,0:20:57.72,0:21:01.16,Default,,0000,0000,0000,,to change animal species to plant Dialogue: 0,0:21:01.16,0:21:03.08,Default,,0000,0000,0000,,species and I think it would be a good Dialogue: 0,0:21:03.08,0:21:05.28,Default,,0000,0000,0000,,idea to show a different picture at this Dialogue: 0,0:21:05.28,0:21:07.48,Default,,0000,0000,0000,,point not a duck so we'll pick something Dialogue: 0,0:21:07.48,0:21:09.76,Default,,0000,0000,0000,,else so if you click on that have a look Dialogue: 0,0:21:09.76,0:21:11.76,Default,,0000,0000,0000,,and pick something there is I think Dialogue: 0,0:21:11.76,0:21:13.96,Default,,0000,0000,0000,,there's a fork icon that looks a little Dialogue: 0,0:21:13.96,0:21:17.28,Default,,0000,0000,0000,,bit like a tree that's it that one we Dialogue: 0,0:21:17.28,0:21:19.92,Default,,0000,0000,0000,,can pick that you can also draw your own Dialogue: 0,0:21:19.92,0:21:21.64,Default,,0000,0000,0000,,plant icon as well if you like you can Dialogue: 0,0:21:21.64,0:21:24.36,Default,,0000,0000,0000,,use the show LEDs Block in the basic Dialogue: 0,0:21:24.36,0:21:25.84,Default,,0000,0000,0000,,category and you can draw your own Dialogue: 0,0:21:25.84,0:21:27.88,Default,,0000,0000,0000,,picture of an animal or a plant but Dialogue: 0,0:21:27.88,0:21:29.48,Default,,0000,0000,0000,,we're just going to pick the the fork Dialogue: 0,0:21:29.48,0:21:32.04,Default,,0000,0000,0000,,icon because it looks a bit like a tree Dialogue: 0,0:21:32.04,0:21:33.80,Default,,0000,0000,0000,,uh and then I think there's one more Dialogue: 0,0:21:33.80,0:21:35.44,Default,,0000,0000,0000,,thing we need to change yeah well Dialogue: 0,0:21:35.44,0:21:37.24,Default,,0000,0000,0000,,spotted bled because at the moment the Dialogue: 0,0:21:37.24,0:21:39.16,Default,,0000,0000,0000,,code is going to show the animal species Dialogue: 0,0:21:39.16,0:21:40.72,Default,,0000,0000,0000,,number when we press button B and that Dialogue: 0,0:21:40.72,0:21:42.60,Default,,0000,0000,0000,,would be wrong so we need to click on Dialogue: 0,0:21:42.60,0:21:45.64,Default,,0000,0000,0000,,the little arrow on that and change that Dialogue: 0,0:21:45.64,0:21:48.12,Default,,0000,0000,0000,,to plant Dialogue: 0,0:21:48.12,0:21:49.64,Default,,0000,0000,0000,,species Dialogue: 0,0:21:49.64,0:21:52.04,Default,,0000,0000,0000,,perfect thank you Giles I think that's Dialogue: 0,0:21:52.04,0:21:53.52,Default,,0000,0000,0000,,looking like it should work really well Dialogue: 0,0:21:53.52,0:21:55.32,Default,,0000,0000,0000,,and we should be able to test out button Dialogue: 0,0:21:55.32,0:22:00.68,Default,,0000,0000,0000,,B on the simulator now as well um so if Dialogue: 0,0:22:00.68,0:22:04.16,Default,,0000,0000,0000,,I was outside and these were all the Dialogue: 0,0:22:04.16,0:22:06.16,Default,,0000,0000,0000,,plants I saw while I was in my Dialogue: 0,0:22:06.16,0:22:09.24,Default,,0000,0000,0000,,playground how many plant species would Dialogue: 0,0:22:09.24,0:22:12.12,Default,,0000,0000,0000,,I log how many times do I press button B Dialogue: 0,0:22:12.12,0:22:13.60,Default,,0000,0000,0000,,oh that's a good question because I can Dialogue: 0,0:22:13.60,0:22:15.40,Default,,0000,0000,0000,,see lots of flowers there so I might Dialogue: 0,0:22:15.40,0:22:18.20,Default,,0000,0000,0000,,want to keep clicking uh and click lots Dialogue: 0,0:22:18.20,0:22:19.80,Default,,0000,0000,0000,,of flowers but I need to think I need to Dialogue: 0,0:22:19.80,0:22:22.24,Default,,0000,0000,0000,,be really careful about this I think Dialogue: 0,0:22:22.24,0:22:24.48,Default,,0000,0000,0000,,there are only two species here because Dialogue: 0,0:22:24.48,0:22:26.96,Default,,0000,0000,0000,,I've got flowers like daisies they look Dialogue: 0,0:22:26.96,0:22:28.52,Default,,0000,0000,0000,,the same so although there's lots of FL Dialogue: 0,0:22:28.52,0:22:31.16,Default,,0000,0000,0000,,flowers there that's only one species Dialogue: 0,0:22:31.16,0:22:33.12,Default,,0000,0000,0000,,that I've spotted and then there's some Dialogue: 0,0:22:33.12,0:22:35.24,Default,,0000,0000,0000,,Ivy some leaves growing in the middle so Dialogue: 0,0:22:35.24,0:22:37.72,Default,,0000,0000,0000,,I think here if I saw that when I went Dialogue: 0,0:22:37.72,0:22:40.72,Default,,0000,0000,0000,,outside I would log two plant species I Dialogue: 0,0:22:40.72,0:22:44.28,Default,,0000,0000,0000,,would press button B twice fantastic Dialogue: 0,0:22:44.28,0:22:46.56,Default,,0000,0000,0000,,that is very accurate and correct so I'm Dialogue: 0,0:22:46.56,0:22:51.68,Default,,0000,0000,0000,,going to do button B twice now on my Dialogue: 0,0:22:51.68,0:22:54.00,Default,,0000,0000,0000,,simulator and there we go we can see the Dialogue: 0,0:22:54.00,0:22:56.24,Default,,0000,0000,0000,,plant icon came up and the number came Dialogue: 0,0:22:56.24,0:22:57.92,Default,,0000,0000,0000,,up each time as well which is exactly Dialogue: 0,0:22:57.92,0:23:00.92,Default,,0000,0000,0000,,what we've asked it to do using the code Dialogue: 0,0:23:00.92,0:23:03.36,Default,,0000,0000,0000,,so that's that's fantastic Planet that's Dialogue: 0,0:23:03.36,0:23:05.60,Default,,0000,0000,0000,,really good but the number just flashes Dialogue: 0,0:23:05.60,0:23:10.44,Default,,0000,0000,0000,,up what if I can't remember the number Dialogue: 0,0:23:10.44,0:23:13.24,Default,,0000,0000,0000,,of animal species and plant species is Dialogue: 0,0:23:13.24,0:23:15.56,Default,,0000,0000,0000,,there a way we can get to see the the Dialogue: 0,0:23:15.56,0:23:18.04,Default,,0000,0000,0000,,sort of running total without having to Dialogue: 0,0:23:18.04,0:23:20.72,Default,,0000,0000,0000,,add a new one each time yeah that's a Dialogue: 0,0:23:20.72,0:23:21.96,Default,,0000,0000,0000,,really good point because I can't Dialogue: 0,0:23:21.96,0:23:23.56,Default,,0000,0000,0000,,remember now even how many animal Dialogue: 0,0:23:23.56,0:23:25.12,Default,,0000,0000,0000,,species we'd already logged a few Dialogue: 0,0:23:25.12,0:23:28.16,Default,,0000,0000,0000,,minutes ago so we definitely need to to Dialogue: 0,0:23:28.16,0:23:30.04,Default,,0000,0000,0000,,to add that in because we don't want to Dialogue: 0,0:23:30.04,0:23:33.80,Default,,0000,0000,0000,,get our numbers muddled up so um let's Dialogue: 0,0:23:33.80,0:23:35.92,Default,,0000,0000,0000,,use the icons again to make it clear Dialogue: 0,0:23:35.92,0:23:37.92,Default,,0000,0000,0000,,which total is coming up on the LED Dialogue: 0,0:23:37.92,0:23:42.04,Default,,0000,0000,0000,,display but let's also um use a new Dialogue: 0,0:23:42.04,0:23:43.72,Default,,0000,0000,0000,,input so we've used button a and we've Dialogue: 0,0:23:43.72,0:23:46.60,Default,,0000,0000,0000,,used button B to do our actual logging Dialogue: 0,0:23:46.60,0:23:49.64,Default,,0000,0000,0000,,but now let's use the touch logo on the Dialogue: 0,0:23:49.64,0:23:51.68,Default,,0000,0000,0000,,front of the microbit as the input to Dialogue: 0,0:23:51.68,0:23:54.08,Default,,0000,0000,0000,,show us our totals so you'll find that Dialogue: 0,0:23:54.08,0:23:56.88,Default,,0000,0000,0000,,in the inputs menu and if you scroll Dialogue: 0,0:23:56.88,0:23:59.44,Default,,0000,0000,0000,,right down past where it says microbit Dialogue: 0,0:23:59.44,0:24:03.12,Default,,0000,0000,0000,,V2 right down here we get the on Logo Dialogue: 0,0:24:03.12,0:24:05.92,Default,,0000,0000,0000,,pressed block so if I pull that out now Dialogue: 0,0:24:05.92,0:24:10.60,Default,,0000,0000,0000,,I'm going to use this as my input now I Dialogue: 0,0:24:10.60,0:24:12.80,Default,,0000,0000,0000,,said we wanted to use the icons again so Dialogue: 0,0:24:12.80,0:24:14.28,Default,,0000,0000,0000,,that's the next time we're going next Dialogue: 0,0:24:14.28,0:24:15.28,Default,,0000,0000,0000,,thing we're going to do we're going to Dialogue: 0,0:24:15.28,0:24:17.84,Default,,0000,0000,0000,,go to basic we're going to drag out our Dialogue: 0,0:24:17.84,0:24:20.80,Default,,0000,0000,0000,,show icon pop it in here and I'm going Dialogue: 0,0:24:20.80,0:24:23.64,Default,,0000,0000,0000,,to change this one to the animal icon Dialogue: 0,0:24:23.64,0:24:24.92,Default,,0000,0000,0000,,we' selected Dialogue: 0,0:24:24.92,0:24:28.36,Default,,0000,0000,0000,,earlier and then I want to show my total Dialogue: 0,0:24:28.36,0:24:31.16,Default,,0000,0000,0000,,to Al number of animal species counted Dialogue: 0,0:24:31.16,0:24:34.24,Default,,0000,0000,0000,,so if I go back into basic take show Dialogue: 0,0:24:34.24,0:24:38.08,Default,,0000,0000,0000,,number pop it in and then I find my Dialogue: 0,0:24:38.08,0:24:40.24,Default,,0000,0000,0000,,variable my animal species variable in Dialogue: 0,0:24:40.24,0:24:43.32,Default,,0000,0000,0000,,the variables menu pull that out and Dialogue: 0,0:24:43.32,0:24:46.88,Default,,0000,0000,0000,,that goes on top so that means when you Dialogue: 0,0:24:46.88,0:24:49.60,Default,,0000,0000,0000,,press the logo the duck icon will will Dialogue: 0,0:24:49.60,0:24:51.76,Default,,0000,0000,0000,,come up and then the total number of Dialogue: 0,0:24:51.76,0:24:54.48,Default,,0000,0000,0000,,animal species now I also want to to see Dialogue: 0,0:24:54.48,0:24:55.92,Default,,0000,0000,0000,,the plant species but I don't want it Dialogue: 0,0:24:55.92,0:24:58.52,Default,,0000,0000,0000,,all to happen too quickly it needs to be Dialogue: 0,0:24:58.52,0:25:00.28,Default,,0000,0000,0000,,clear when we read it off the screen and Dialogue: 0,0:25:00.28,0:25:02.36,Default,,0000,0000,0000,,then when there's numbers that are Dialogue: 0,0:25:02.36,0:25:04.80,Default,,0000,0000,0000,,two-digit or even three-digit numbers Dialogue: 0,0:25:04.80,0:25:06.72,Default,,0000,0000,0000,,they will scroll so we need a little bit Dialogue: 0,0:25:06.72,0:25:09.16,Default,,0000,0000,0000,,of time for the microbit to do its thing Dialogue: 0,0:25:09.16,0:25:11.76,Default,,0000,0000,0000,,so we're going to leave a small pause so Dialogue: 0,0:25:11.76,0:25:15.48,Default,,0000,0000,0000,,if I go back into basic and scroll down Dialogue: 0,0:25:15.48,0:25:18.12,Default,,0000,0000,0000,,find the pause block I'm going to pop Dialogue: 0,0:25:18.12,0:25:21.52,Default,,0000,0000,0000,,that in and let's pause for two Dialogue: 0,0:25:21.52,0:25:24.08,Default,,0000,0000,0000,,seconds that shows up as 2,000 Dialogue: 0,0:25:24.08,0:25:27.00,Default,,0000,0000,0000,,milliseconds on the Block and then I'm Dialogue: 0,0:25:27.00,0:25:28.80,Default,,0000,0000,0000,,going to go back into basic and another Dialogue: 0,0:25:28.80,0:25:30.72,Default,,0000,0000,0000,,time and I'm going to get the clear Dialogue: 0,0:25:30.72,0:25:33.20,Default,,0000,0000,0000,,screen block here so that clean the Dialogue: 0,0:25:33.20,0:25:35.84,Default,,0000,0000,0000,,screen goes completely clear before it Dialogue: 0,0:25:35.84,0:25:37.24,Default,,0000,0000,0000,,me any of the Dialogue: 0,0:25:37.24,0:25:41.72,Default,,0000,0000,0000,,plant species data so now I want to show Dialogue: 0,0:25:41.72,0:25:43.80,Default,,0000,0000,0000,,the plant species data actually I'll Dialogue: 0,0:25:43.80,0:25:45.76,Default,,0000,0000,0000,,just do one more pause before that so Dialogue: 0,0:25:45.76,0:25:47.68,Default,,0000,0000,0000,,I'm going to duplicate that block be Dialogue: 0,0:25:47.68,0:25:50.00,Default,,0000,0000,0000,,doubly sure that the screen clears and Dialogue: 0,0:25:50.00,0:25:54.12,Default,,0000,0000,0000,,has time to clear now back into basic Dialogue: 0,0:25:54.12,0:25:57.88,Default,,0000,0000,0000,,take your show icon change that to our Dialogue: 0,0:25:57.88,0:26:02.64,Default,,0000,0000,0000,,tree like icon here go back into basic Dialogue: 0,0:26:02.64,0:26:06.08,Default,,0000,0000,0000,,take another show number and this time Dialogue: 0,0:26:06.08,0:26:08.56,Default,,0000,0000,0000,,in the variables menu I choose plant Dialogue: 0,0:26:08.56,0:26:14.16,Default,,0000,0000,0000,,species and put it in there so hopefully Dialogue: 0,0:26:14.16,0:26:16.08,Default,,0000,0000,0000,,that will have given the microbit the Dialogue: 0,0:26:16.08,0:26:18.68,Default,,0000,0000,0000,,instructions needed for us to see the Dialogue: 0,0:26:18.68,0:26:22.56,Default,,0000,0000,0000,,totals on the screen when we want to to Dialogue: 0,0:26:22.56,0:26:24.92,Default,,0000,0000,0000,,recap how many we've counted of each so Dialogue: 0,0:26:24.92,0:26:26.68,Default,,0000,0000,0000,,shall we try out on the simulator now Dialogue: 0,0:26:26.68,0:26:28.56,Default,,0000,0000,0000,,Giles I think that sounds like a really Dialogue: 0,0:26:28.56,0:26:30.00,Default,,0000,0000,0000,,good idea right I'm going to put you to Dialogue: 0,0:26:30.00,0:26:32.56,Default,,0000,0000,0000,,the test I'm going to show you some Dialogue: 0,0:26:32.56,0:26:34.84,Default,,0000,0000,0000,,pictures and see if you can count along Dialogue: 0,0:26:34.84,0:26:36.88,Default,,0000,0000,0000,,and correctly count the species I'm Dialogue: 0,0:26:36.88,0:26:40.00,Default,,0000,0000,0000,,going to reset my microb bit first just Dialogue: 0,0:26:40.00,0:26:41.76,Default,,0000,0000,0000,,clear any of the data we've done so far Dialogue: 0,0:26:41.76,0:26:42.80,Default,,0000,0000,0000,,so you would do that on the real Dialogue: 0,0:26:42.80,0:26:44.12,Default,,0000,0000,0000,,microbit with the reset button on the Dialogue: 0,0:26:44.12,0:26:45.88,Default,,0000,0000,0000,,back but I've just pressed this uh Dialogue: 0,0:26:45.88,0:26:49.08,Default,,0000,0000,0000,,symbol here on the simulator okay test Dialogue: 0,0:26:49.08,0:26:51.72,Default,,0000,0000,0000,,me fantastic are you ready yes okay here Dialogue: 0,0:26:51.72,0:26:54.84,Default,,0000,0000,0000,,we go that's a tree so that's a plant Dialogue: 0,0:26:54.84,0:26:57.16,Default,,0000,0000,0000,,species so that's one plant species so Dialogue: 0,0:26:57.16,0:26:59.56,Default,,0000,0000,0000,,far oh that's another tree so hang on I Dialogue: 0,0:26:59.56,0:27:02.16,Default,,0000,0000,0000,,need to have pressed B once but not Dialogue: 0,0:27:02.16,0:27:04.52,Default,,0000,0000,0000,,again because they're the same species Dialogue: 0,0:27:04.52,0:27:08.08,Default,,0000,0000,0000,,well done okay let's try one more right Dialogue: 0,0:27:08.08,0:27:09.84,Default,,0000,0000,0000,,that's a different plant species so I'm Dialogue: 0,0:27:09.84,0:27:12.08,Default,,0000,0000,0000,,going to press B again that's the second Dialogue: 0,0:27:12.08,0:27:14.88,Default,,0000,0000,0000,,plant species I've Dialogue: 0,0:27:15.00,0:27:17.68,Default,,0000,0000,0000,,seen there's our lovely Robin that's a Dialogue: 0,0:27:17.68,0:27:21.16,Default,,0000,0000,0000,,animal species a bird Dialogue: 0,0:27:21.16,0:27:25.32,Default,,0000,0000,0000,,okay and I'll give you one more okay Dialogue: 0,0:27:25.32,0:27:26.80,Default,,0000,0000,0000,,fantastic that's Dialogue: 0,0:27:26.80,0:27:31.08,Default,,0000,0000,0000,,another animal species so let's see if I Dialogue: 0,0:27:31.08,0:27:34.84,Default,,0000,0000,0000,,go to my touch logo and I click this now Dialogue: 0,0:27:34.84,0:27:36.00,Default,,0000,0000,0000,,let's see what Dialogue: 0,0:27:36.00,0:27:38.04,Default,,0000,0000,0000,,happens animals Dialogue: 0,0:27:38.04,0:27:41.16,Default,,0000,0000,0000,,to should clear the screen there a Dialogue: 0,0:27:41.16,0:27:44.72,Default,,0000,0000,0000,,little pause there two fantastic Dialogue: 0,0:27:44.72,0:27:49.20,Default,,0000,0000,0000,,fantastic well done woohoo so that's it Dialogue: 0,0:27:49.20,0:27:51.64,Default,,0000,0000,0000,,if you have got this far with us you Dialogue: 0,0:27:51.64,0:27:54.68,Default,,0000,0000,0000,,have now coded your biodiversity code Dialogue: 0,0:27:54.68,0:27:57.24,Default,,0000,0000,0000,,along uh biodiversity counter I should Dialogue: 0,0:27:57.24,0:28:01.06,Default,,0000,0000,0000,,say that you can use outside in your Dialogue: 0,0:28:01.06,0:28:07.20,Default,,0000,0000,0000,,[Applause] Dialogue: 0,0:28:07.20,0:28:09.52,Default,,0000,0000,0000,,playground two lots of Applause and Dialogue: 0,0:28:09.52,0:28:11.52,Default,,0000,0000,0000,,cheering that's marvelous so once you Dialogue: 0,0:28:11.52,0:28:15.16,Default,,0000,0000,0000,,know the number of the current number of Dialogue: 0,0:28:15.16,0:28:17.44,Default,,0000,0000,0000,,animal and plant species you could Dialogue: 0,0:28:17.44,0:28:19.72,Default,,0000,0000,0000,,monitor whether this changes over time Dialogue: 0,0:28:19.72,0:28:21.04,Default,,0000,0000,0000,,because you could count them again in Dialogue: 0,0:28:21.04,0:28:23.68,Default,,0000,0000,0000,,the future um you might want to try some Dialogue: 0,0:28:23.68,0:28:25.64,Default,,0000,0000,0000,,things in your local environment to Dialogue: 0,0:28:25.64,0:28:27.88,Default,,0000,0000,0000,,improve biodiversity and see if you get Dialogue: 0,0:28:27.88,0:28:29.48,Default,,0000,0000,0000,,better better numbers next time if you Dialogue: 0,0:28:29.48,0:28:31.84,Default,,0000,0000,0000,,get a more diverse environment with Dialogue: 0,0:28:31.84,0:28:34.20,Default,,0000,0000,0000,,different more different kinds of Dialogue: 0,0:28:34.20,0:28:36.32,Default,,0000,0000,0000,,plants and there's lots of other things Dialogue: 0,0:28:36.32,0:28:37.84,Default,,0000,0000,0000,,you can do with that data that you go Dialogue: 0,0:28:37.84,0:28:40.52,Default,,0000,0000,0000,,outside and collect you could present it Dialogue: 0,0:28:40.52,0:28:43.12,Default,,0000,0000,0000,,in bar charts or other kinds of graphs Dialogue: 0,0:28:43.12,0:28:45.40,Default,,0000,0000,0000,,tally charts you could share your Dialogue: 0,0:28:45.40,0:28:47.16,Default,,0000,0000,0000,,findings with other classes in your Dialogue: 0,0:28:47.16,0:28:49.56,Default,,0000,0000,0000,,school or you could compare your Dialogue: 0,0:28:49.56,0:28:51.60,Default,,0000,0000,0000,,playground to other outdoor environments Dialogue: 0,0:28:51.60,0:28:55.92,Default,,0000,0000,0000,,such as Parks or maybe even another Dialogue: 0,0:28:55.92,0:28:58.92,Default,,0000,0000,0000,,school fabulous so thank you for those Dialogue: 0,0:28:58.92,0:29:01.64,Default,,0000,0000,0000,,ideas Giles they're really useful we we Dialogue: 0,0:29:01.64,0:29:03.64,Default,,0000,0000,0000,,have finished coding but there is one Dialogue: 0,0:29:03.64,0:29:06.32,Default,,0000,0000,0000,,more really important thing to do you Dialogue: 0,0:29:06.32,0:29:09.88,Default,,0000,0000,0000,,need to transfer the code to your real Dialogue: 0,0:29:09.88,0:29:11.88,Default,,0000,0000,0000,,life microbit so you can use it to count Dialogue: 0,0:29:11.88,0:29:14.36,Default,,0000,0000,0000,,biodiversity in your playground outside Dialogue: 0,0:29:14.36,0:29:16.56,Default,,0000,0000,0000,,or another outside area so what we're Dialogue: 0,0:29:16.56,0:29:19.32,Default,,0000,0000,0000,,going to do is we're going to um use the Dialogue: 0,0:29:19.32,0:29:23.60,Default,,0000,0000,0000,,USB cable to plug our mic bits into the Dialogue: 0,0:29:23.60,0:29:25.56,Default,,0000,0000,0000,,computer or laptop that you've been Dialogue: 0,0:29:25.56,0:29:28.12,Default,,0000,0000,0000,,using now if you've been using tablets Dialogue: 0,0:29:28.12,0:29:29.36,Default,,0000,0000,0000,,then obviously there's a different way Dialogue: 0,0:29:29.36,0:29:32.16,Default,,0000,0000,0000,,to transfer the code um I won't demo Dialogue: 0,0:29:32.16,0:29:34.96,Default,,0000,0000,0000,,that today but the link that is now Dialogue: 0,0:29:34.96,0:29:36.88,Default,,0000,0000,0000,,showing on screen will give you all the Dialogue: 0,0:29:36.88,0:29:38.92,Default,,0000,0000,0000,,different options for how to get code Dialogue: 0,0:29:38.92,0:29:41.20,Default,,0000,0000,0000,,onto your microbit tablets included so Dialogue: 0,0:29:41.20,0:29:43.04,Default,,0000,0000,0000,,you can have a look at that instead but Dialogue: 0,0:29:43.04,0:29:45.80,Default,,0000,0000,0000,,I'll just do a very quick demo of how to Dialogue: 0,0:29:45.80,0:29:48.44,Default,,0000,0000,0000,,get it on if you're using a laptop or a Dialogue: 0,0:29:48.44,0:29:52.08,Default,,0000,0000,0000,,tablet or a um sorry a desktop computer Dialogue: 0,0:29:52.08,0:29:56.24,Default,,0000,0000,0000,,so the small part of the USB cable goes Dialogue: 0,0:29:56.24,0:29:58.48,Default,,0000,0000,0000,,into the top of the microbit so you can Dialogue: 0,0:29:58.48,0:30:00.52,Default,,0000,0000,0000,,see there and then I'm going to plug Dialogue: 0,0:30:00.52,0:30:01.64,Default,,0000,0000,0000,,this Dialogue: 0,0:30:01.64,0:30:05.64,Default,,0000,0000,0000,,into my um my laptop that I'm using so Dialogue: 0,0:30:05.64,0:30:08.52,Default,,0000,0000,0000,,I'm plugging it in here the USB end of Dialogue: 0,0:30:08.52,0:30:12.16,Default,,0000,0000,0000,,it goes in okay now I'm just going to Dialogue: 0,0:30:12.16,0:30:16.24,Default,,0000,0000,0000,,share my screen before I Dialogue: 0,0:30:16.24,0:30:19.52,Default,,0000,0000,0000,,plug the rest of it in so one second Dialogue: 0,0:30:19.52,0:30:23.76,Default,,0000,0000,0000,,stop there I'm going to go Dialogue: 0,0:30:23.76,0:30:25.28,Default,,0000,0000,0000,,to Dialogue: 0,0:30:25.28,0:30:29.24,Default,,0000,0000,0000,,this okay now if I do this this way and Dialogue: 0,0:30:29.24,0:30:31.40,Default,,0000,0000,0000,,I get up my Dialogue: 0,0:30:31.40,0:30:34.20,Default,,0000,0000,0000,,downloads you will see something appear Dialogue: 0,0:30:34.20,0:30:36.20,Default,,0000,0000,0000,,in this menu on the left when I plug in Dialogue: 0,0:30:36.20,0:30:37.08,Default,,0000,0000,0000,,my Dialogue: 0,0:30:37.08,0:30:39.56,Default,,0000,0000,0000,,microbit so I've plugged it Dialogue: 0,0:30:39.56,0:30:43.64,Default,,0000,0000,0000,,in keep an eye here Tada the microbit Dialogue: 0,0:30:43.64,0:30:45.84,Default,,0000,0000,0000,,drive has appeared there because my mic Dialogue: 0,0:30:45.84,0:30:47.96,Default,,0000,0000,0000,,bit has been plugged in so I know that Dialogue: 0,0:30:47.96,0:30:51.04,Default,,0000,0000,0000,,it's connected and so now that I've Dialogue: 0,0:30:51.04,0:30:54.56,Default,,0000,0000,0000,,plugged it in on my make code editor I Dialogue: 0,0:30:54.56,0:30:56.36,Default,,0000,0000,0000,,need to click on the download button and Dialogue: 0,0:30:56.36,0:30:58.60,Default,,0000,0000,0000,,follow the instructions on screen Dialogue: 0,0:30:58.60,0:31:01.96,Default,,0000,0000,0000,,so I click that now download and it's Dialogue: 0,0:31:01.96,0:31:03.52,Default,,0000,0000,0000,,downloading to my micro bit now if it's Dialogue: 0,0:31:03.52,0:31:05.28,Default,,0000,0000,0000,,the first time you've downloaded it may Dialogue: 0,0:31:05.28,0:31:07.44,Default,,0000,0000,0000,,ask you to pair it first but you simply Dialogue: 0,0:31:07.44,0:31:09.48,Default,,0000,0000,0000,,follow the instructions on screen and it Dialogue: 0,0:31:09.48,0:31:11.36,Default,,0000,0000,0000,,will then give you the option to Dialogue: 0,0:31:11.36,0:31:13.76,Default,,0000,0000,0000,,download it if that doesn't work for any Dialogue: 0,0:31:13.76,0:31:16.28,Default,,0000,0000,0000,,reason there's also a drag and drop Dialogue: 0,0:31:16.28,0:31:18.76,Default,,0000,0000,0000,,method where if you download the hex Dialogue: 0,0:31:18.76,0:31:21.72,Default,,0000,0000,0000,,file using the three dots next to the Dialogue: 0,0:31:21.72,0:31:23.76,Default,,0000,0000,0000,,download button you can click on Dialogue: 0,0:31:23.76,0:31:25.16,Default,,0000,0000,0000,,download as Dialogue: 0,0:31:25.16,0:31:29.68,Default,,0000,0000,0000,,file okay that has now gone to my Dialogue: 0,0:31:29.68,0:31:31.68,Default,,0000,0000,0000,,downloads you can see it here there's Dialogue: 0,0:31:31.68,0:31:34.12,Default,,0000,0000,0000,,our project that we just made and I can Dialogue: 0,0:31:34.12,0:31:36.48,Default,,0000,0000,0000,,now drag and drop that on top of my Dialogue: 0,0:31:36.48,0:31:39.56,Default,,0000,0000,0000,,microbit drive and my microbit will Dialogue: 0,0:31:39.56,0:31:41.20,Default,,0000,0000,0000,,start flashing on the back so I know Dialogue: 0,0:31:41.20,0:31:42.64,Default,,0000,0000,0000,,that that's working as well so that's Dialogue: 0,0:31:42.64,0:31:45.80,Default,,0000,0000,0000,,another way to get it on okay so once Dialogue: 0,0:31:45.80,0:31:47.92,Default,,0000,0000,0000,,you've got it on there of course the Dialogue: 0,0:31:47.92,0:31:49.84,Default,,0000,0000,0000,,next thing to do is to plug your battery Dialogue: 0,0:31:49.84,0:31:53.92,Default,,0000,0000,0000,,pack in unplug it from your uh computer Dialogue: 0,0:31:53.92,0:31:56.92,Default,,0000,0000,0000,,and then you can take it outside and get Dialogue: 0,0:31:56.92,0:31:59.76,Default,,0000,0000,0000,,going with love the diversity all around Dialogue: 0,0:31:59.76,0:32:02.56,Default,,0000,0000,0000,,you in your Dialogue: 0,0:32:02.60,0:32:05.44,Default,,0000,0000,0000,,environment that's absolutely fantastic Dialogue: 0,0:32:05.44,0:32:08.60,Default,,0000,0000,0000,,so huge thanks to all of you for joining Dialogue: 0,0:32:08.60,0:32:10.92,Default,,0000,0000,0000,,our codal along today remember do get in Dialogue: 0,0:32:10.92,0:32:14.20,Default,,0000,0000,0000,,touch with us by tagging us you can do Dialogue: 0,0:32:14.20,0:32:19.24,Default,,0000,0000,0000,,that on Twitter or X using microbit edu Dialogue: 0,0:32:19.24,0:32:21.28,Default,,0000,0000,0000,,be great if you could show how you got Dialogue: 0,0:32:21.28,0:32:23.56,Default,,0000,0000,0000,,on making your biodiversity counter Dialogue: 0,0:32:23.56,0:32:26.12,Default,,0000,0000,0000,,today and how you use Dialogue: 0,0:32:26.12,0:32:28.48,Default,,0000,0000,0000,,them yes thank you to everyone who's Dialogue: 0,0:32:28.48,0:32:30.36,Default,,0000,0000,0000,,joined in we hope you've had fun coding Dialogue: 0,0:32:30.36,0:32:33.28,Default,,0000,0000,0000,,your biodiversity counter and uh good Dialogue: 0,0:32:33.28,0:32:35.52,Default,,0000,0000,0000,,luck investigating biodiversity in your Dialogue: 0,0:32:35.52,0:32:36.96,Default,,0000,0000,0000,,local Dialogue: 0,0:32:36.96,0:32:42.80,Default,,0000,0000,0000,,environment bye bye for now Dialogue: 0,0:32:51.65,0:32:58.44,Default,,0000,0000,0000,,[Music] Dialogue: 0,0:32:58.44,0:33:01.44,Default,,0000,0000,0000,,n Dialogue: 0,0:33:04.93,0:33:34.95,Default,,0000,0000,0000,,[Music]