by [[~login | Your Name]], Day, Month, Year

Updated Day, Month, Year, by [[~login | Your Name]]

Use a descriptive page title for your page. Put a paragraph or two here introducing the code. Say what language it's in, what microcontroller or computer it's for, and what it does. Cite the code you based your code on. If it's linkable, link to it.

Provide a link back to your sensor report.

Anything after the first seven paragraphs (lines) of text will not show up on the Code index page. Anything in the first seven paragraphs will show up there. If you copy the format above, and replace each line with your own, you'll have seven lines.

As of 2012, this wiki has syntax highlighting markup for Arduino, Processing, and a few other languages. You can encase your code in syntax highlighting using this markup:

 (:source lang=arduino tabwidth=4 :)

// your code goes here


If you want to get fancy, you can even add links to external files, like raw source code on gitHub, like this:

 (:source lang=arduino
  tabwidth=4 :)

When you use sourceblock formatting, the result will look like this:

void setup() {
  Serial.begin(9600);       // initialize serial communications

Here's a list of other languages you can use. Feel free to update old code samples with this markup.