5555 < ul class ="nav navbar-nav ">
5656 < li > < a href ="#Editor "> Editor</ a > </ li >
5757 < li > < a href ="#hello "> Hello, World!</ a > </ li >
58+ < li > < a href ="#fs "> File system</ a > </ li >
5859 < li class ="hide-blocks "> < a href ="#blockly "> Blockly</ a > </ li >
5960 < li class ="hide-snippets "> < a href ="#snippets "> Snippets</ a > </ li >
6061 < li > < a href ="#bugs "> Bugs</ a > </ li >
@@ -129,7 +130,7 @@ <h3 id="Menu">Menu</h3>
129130 </ tr >
130131 < tr >
131132 < td >
132- < div id ="command-save " class ="roundsymbol " title ="Load Python code or .hex file into the editor ">
133+ < div id ="command-upload " class ="roundsymbol " title ="Load files into the editor ">
133134 < i class ="fa fa-upload "> </ i >
134135 </ div >
135136 </ td >
@@ -140,7 +141,9 @@ <h3 id="Menu">Menu</h3>
140141 picker (just click on the link at the bottom to toggle between the
141142 two options). The editor knows how to read Python files (whose name
142143 ends with ".py") and extract Python code from hex files (whose name
143- ends with ".hex").
144+ ends with ".hex").< br > < br >
145+ The < a href ="#fs "> file system</ a > adds functionality to add or remove python modules,
146+ data logs and other file types from the micro:bit.
144147 </ td >
145148 </ tr >
146149 < tr class ="hide-blocks ">
@@ -278,35 +281,64 @@ <h2 id="hello">Hello, World!</h2>
278281 asking the micro:bit to scroll the words across the LED screen and then display an image of a heart.</ p >
279282 < p > Why not try making the micro:bit scroll your name?</ p >
280283
281- < div class =" hide-blocks " >
282- < h2 id ="blockly " > Blockly </ h2 >
284+ < div >
285+ < h2 id ="fs " > File system </ h2 >
283286
284- < p > Use blockly to make new Python code from easy to assemble blocks of
285- code. </ p >
287+ < p > Use the file system to add or remove python modules, data logs and other file types
288+ from the micro:bit. Selecting the load button in the menu will bring up the files modal window.
286289
287- < p > < img src ="static/img/blocks .png "
288- class ="image img-responsive center-block img-rounded "
289- alt ="An animation demonstrating how to use snippets. "/> </ p >
290+ < p > < img src ="static/img/file-system .png "
291+ class ="image img-responsive center-block img-rounded " style =" max-width: 75%; "
292+ alt ="modal dialogue for the file system interface "/> </ p >
290293
291- < p > Blockly updates Python in the code editor as you move blocks around.
292- There are lots of different blocks to cover all the features of the
293- micro:bit. You can make more advanced code by combining blocks together
294- (such as in the example above).</ p >
295-
296- < p > You should use Blockly to create < em > new code</ em > since moving blocks
297- around will overwrite any existing code you have in the editor (and you may
298- lose work as a result). The arrangement of blocks isn't (currently)
299- saved, so Blockly makes a great way to make simple Python code without
300- lots of typing. In the end, you'll learn that simply typing Python is by
301- far the quickest and easiest way to write code.</ p >
294+ < p > When the micro:bit is flashed with MicroPython, it enables a simple file system to store and retrieve files from the device</ p >
295+ < p > You can drag and drop files or use the < strong > Add a file to the filesystem</ strong > button to open the file dialogue.</ p >
296+ < p > A status bar shows you the file types you have uploaded and how much free space you still have available.
297+ The file size shown is the space it consumes inside of the micro:bit filesystem, not the micro:bit drive.
298+ The status bar is handily colour coded to indicate file types.</ p >
299+
300+ < p > The < strong > main.py</ strong > file is your program, the python script from the < a href ="#text-window "> text window</ a > . It is pre-set in the status
301+ bar and cannot be removed. If you try to upload another < strong > main.py</ strong > file this will replace your code in the text window.</ p >
302+
303+ < p > < img src ="static/img/file-system2.png "
304+ class ="image img-responsive center-block img-rounded " style ="max-width: 75%; "
305+ alt ="modal dialogue for the file system interface with files uploaded "/> </ p >
306+ </ div >
302307
303- < p > Not all the features of the micro:bit or MicroPython are available via
304- Blockly. We've done this on purpose. Some of the more advanced and
305- interesting stuff is only available in pure Python.</ p >
308+ < p > As you add files, they will appear in a list underneath the status bar. The list indicates
309+ the filename, the file type (eg. < strong > py</ strong > is a python script), the size of the file
310+ and also a button with the option to < strong > Remove</ strong > the file if you have added it in error.</ p >
311+ </ p >
306312
307- < p > However, by using Blockly you'll very quickly get the hang of how Python
308- code works and fits together.</ p >
309- </ div >
313+ < div class ="hide-blocks ">
314+ < h2 id ="blockly "> Blockly</ h2 >
315+
316+ < p > Use blockly to make new Python code from easy to assemble blocks of
317+ code.</ p >
318+
319+ < p > < img src ="static/img/blocks.png "
320+ class ="image img-responsive center-block img-rounded "
321+ alt ="An animation demonstrating how to use snippets. "/> </ p >
322+
323+ < p > Blockly updates Python in the code editor as you move blocks around.
324+ There are lots of different blocks to cover all the features of the
325+ micro:bit. You can make more advanced code by combining blocks together
326+ (such as in the example above).</ p >
327+
328+ < p > You should use Blockly to create < em > new code</ em > since moving blocks
329+ around will overwrite any existing code you have in the editor (and you may
330+ lose work as a result). The arrangement of blocks isn't (currently)
331+ saved, so Blockly makes a great way to make simple Python code without
332+ lots of typing. In the end, you'll learn that simply typing Python is by
333+ far the quickest and easiest way to write code.</ p >
334+
335+ < p > Not all the features of the micro:bit or MicroPython are available via
336+ Blockly. We've done this on purpose. Some of the more advanced and
337+ interesting stuff is only available in pure Python.</ p >
338+
339+ < p > However, by using Blockly you'll very quickly get the hang of how Python
340+ code works and fits together.</ p >
341+ </ div >
310342 < div class ="hide-snippets ">
311343 < h2 id ="snippets "> Snippets</ h2 >
312344
0 commit comments