![]() ![]() Running your code will produce a pop-up that looks like the below. You can access these backups by clicking the "+" button in the lower-right corner then clicking the button that looks like a clock. Your editor will auto-backup your code to your computer. Alternatively, you can run your code by pressing Ctrl+ Enter. In the lower-right corner (2) is a button to run your code which looks like a green triangle. Most of the screen (1) is taken up with the editor. When you do, you should see a screen like the one below. ![]() Whether you have a micro:bit or not, the first step is to open the create.withcode editor. If you don't already have one, don't worry! There are simulators available online and you'll be able to follow along with this whole tutorial. They're also pretty cheap (£20/$20 at time of writing on Amazon), and programming them is as simple as dragging a file to a USB stick. It comes with an LED grid (for a screen), an accelerometer (to detect motion), electrical outputs (for controlling motors, lights etc) and a bunch of other cool features. Simulator only: How to test with the accelerometerĪ micro:bit is a tiny computer that you can program in Python. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |