Update sensehat readme formatting

This commit is contained in:
Nick O'Leary 2016-03-04 17:15:06 +00:00
parent 295d62b25a
commit 18c89896b0
1 changed files with 11 additions and 12 deletions

View File

@ -75,14 +75,13 @@ be sent in a single message by separating them with newline (\n) characters.
#### Set the colour of individual pixels
Format: `<x>,<y>,<colour>`
Format: `<x>,<y>,<colour>`
`x` and `y` must either be a value in the range 0-7, or `*` to indicate the entire row or column.
`colour` must be one of:
- the well-known <a href="https://en.wikipedia.org/wiki/Web_colors" target="_new">HTML colour names</a>
- eg `red` or `aquamarine`,
- the well-known <a href="https://en.wikipedia.org/wiki/Web_colors" target="_new">HTML colour names</a> - eg `red` or `aquamarine`,
- the <a href="http://cheerlights.com/cheerlights-api/">CheerLights colour names</a>,
- a HEX colour value - eg `#aa9900`
- an RGB triple - `190,255,0`
@ -96,13 +95,13 @@ To set the four corners of the display to red, green (#00ff00), yellow and blue
#### Rotate the screen
Format: `R&lt;angle&gt;`
Format: `R<angle>`
`angle` must be 0, 90, 180 or 270.
#### Flip the screen
Format: `R&lt;axis&gt;`
Format: `R<axis>`
`axis` must be either `H` or `V` to flip on the horizontal or vertical axis respectively.