Template:Xdata: Difference between revisions

From Bare Metal micro:bit
Jump to navigation Jump to search
(Created page with "<includeonly>{{#switch:{{{1}}} |X1000={{{{{2}}}|1|x01|echo|Building a program|X1000|Check you can build and upload a simple program (written in pure C) that echoes lines typed...")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
<!--Uploaded--><includeonly>{{#switch:{{{1}}}
|X1000={{{{{2}}}|1|x01|echo|Building a program|X1000|Check you can build and upload a simple program (written in pure C) that echoes lines typed on the terminal}}
|X1000={{{{{2}}}|1|x01|echo|Building a program|X1000|Check you can build and upload a simple program (written in pure C) that echoes lines typed on the terminal}}
|X1100={{{{{2}}}|2|x02|instrs|Machine instructions|X1100|Investigate the effect of single machine instructions using an interactive program}}
|X1100={{{{{2}}}|2|x02|instrs|Machine instructions|X1100|Investigate the effect of single machine instructions using an interactive program}}

Revision as of 09:17, 13 August 2022

Documentation

A table of data about each experiment, indexed by the 'internal code', e.g. X2100. The fields for each experiment:

  1. Serial number. Example: 1.
  2. Two-digit serial number, used to form directory name. Example: 01.
  3. Directory name. Example: echo, giving x01-echo as the full directory name.
  4. Page title. Example: Building a program. The full page title will be 'Experiment 1 – Building a program'.
  5. Internal code, used for links. Example: X1000.
  6. Aim of the experiment. Example: Check you can upload a simple program.

Uses, for experiment X2100:

  • {{Xref|X2100}} gives a link 'Experiment 10' to the experiment page, labelled with the serial number.
  • {{Xproj|X2100}} gives the experiment's short name 'x10'.
  • {{Xdir|X2100}} gives the experiment's directory name 'x10-serial'.
  • {{Xtitle|X2100}} gives the experiment's title 'Experiment 10 – Serial communication'.