{"id":93,"date":"2024-01-28T14:14:41","date_gmt":"2024-01-28T14:14:41","guid":{"rendered":"https:\/\/wp.lancs.ac.uk\/sampas\/?page_id=93"},"modified":"2024-01-30T23:13:18","modified_gmt":"2024-01-30T23:13:18","slug":"code","status":"publish","type":"page","link":"https:\/\/wp.lancs.ac.uk\/sampas\/code\/","title":{"rendered":"Code"},"content":{"rendered":"<blockquote class=\"wp-block-quote\">The micro:bits used in the project can be coded using several coding languages including MakeCode and Python. We use MakeCode a block-style language, like Scratch. MakeCode is free and can be used on a computer, tablet, Chromebook or phone. <strong>Google Chrome<\/strong> is the preferred browser if using the online editor.<br \/><br \/><\/blockquote>\r\n<!-- \/wp:post-content -->\r\n\r\n<!-- wp:paragraph -->\r\n<p>The code interface is here: <a href=\"https:\/\/makecode.microbit.org\/\">https:\/\/makecode.microbit.org\/<\/a> but can be downloaded as an app for tablets and Chromebooks. There is more information here: <a href=\"https:\/\/microbit.org\/code\/\">https:\/\/microbit.org\/code\/<\/a><\/p>\r\n<p><strong>Code templates to edit or use directly <\/strong>using <strong>Google Chrome <\/strong>or <strong>Firefox:<\/strong><\/p>\r\n<p>Please use the code as it is or adapt for your environmental monitoring project.<\/p>\r\n<p>Microbit + GPS: Mapping a walk and recording special features: <br \/><a href=\"https:\/\/net2.app\/download\/lancaster-university\/SaMPaS-project\/master\/microbit-hex\/microbit-SaMPaS_GPS_special_features.hex\"><strong>Direct download here<\/strong><\/a><\/p>\r\n<p>clip:bit counter + GPS: Click clip:bit buttons to record count of different species\/features. GPS marks the location: <br \/><a href=\"https:\/\/net2.app\/download\/lancaster-university\/SaMPaS-project\/master\/microbit-hex\/microbit-SaMPaS_GPS_clipbit_template_new.hex\"><strong>Direct download here<\/strong><\/a><\/p>\r\n<p>clip:bit counter: This doesn&#8217;t record location but can be used to count species at a site. This has been used with primary age children from Year 1 to 6: <br \/><a href=\"https:\/\/net2.app\/download\/lancaster-university\/SaMPaS-project\/master\/microbit-hex\/microbit-SaMPaS_clipbit_beach_template.hex\"><strong>Direct download here<\/strong><\/a><\/p>\r\n<p>&nbsp;<\/p>\r\n<figure id=\"attachment_147\" aria-describedby=\"caption-attachment-147\" style=\"width: 2500px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-147 size-full\" src=\"http:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54.jpg\" alt=\"Screenshot showing MakeCode interface and example clip:bit code\" width=\"2500\" height=\"1178\" srcset=\"https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54.jpg 2500w, https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54-300x141.jpg 300w, https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54-1024x483.jpg 1024w, https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54-768x362.jpg 768w, https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54-1536x724.jpg 1536w, https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54-2048x965.jpg 2048w, https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54-685x323.jpg 685w, https:\/\/wp.lancs.ac.uk\/sampas\/files\/2024\/01\/Screenshot-2024-01-30-at-22.37.54-2000x942.jpg 2000w\" sizes=\"(max-width: 2500px) 100vw, 2500px\" \/><\/a><figcaption id=\"caption-attachment-147\" class=\"wp-caption-text\">Screenshot showing MakeCode interface and example clip:bit code<\/figcaption><\/figure>\r\n<!-- \/wp:paragraph -->\r\n\r\n<!-- wp:quote -->\r\n<blockquote class=\"wp-block-quote\">\r\n<p>&nbsp;<\/p>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>The micro:bits used in the project can be coded using several coding languages including MakeCode and Python. We use MakeCode a block-style language, like Scratch. MakeCode is free and can be used on a computer, tablet, Chromebook or phone. Google Chrome is the preferred browser if using the online editor. The code interface is here: &hellip; <a href=\"https:\/\/wp.lancs.ac.uk\/sampas\/code\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Code<\/span><\/a><\/p>\n","protected":false},"author":1134,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-93","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/pages\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/users\/1134"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":17,"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/pages\/93\/revisions"}],"predecessor-version":[{"id":151,"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/pages\/93\/revisions\/151"}],"wp:attachment":[{"href":"https:\/\/wp.lancs.ac.uk\/sampas\/wp-json\/wp\/v2\/media?parent=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}