mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Update sensehat readme formatting
This commit is contained in:
parent
295d62b25a
commit
18c89896b0
@ -75,14 +75,13 @@ be sent in a single message by separating them with newline (\n) characters.
|
|||||||
|
|
||||||
#### Set the colour of individual pixels
|
#### 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.
|
`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:
|
`colour` must be one of:
|
||||||
|
|
||||||
- the well-known <a href="https://en.wikipedia.org/wiki/Web_colors" target="_new">HTML colour names</a>
|
- the well-known <a href="https://en.wikipedia.org/wiki/Web_colors" target="_new">HTML colour names</a> - eg `red` or `aquamarine`,
|
||||||
- eg `red` or `aquamarine`,
|
|
||||||
- the <a href="http://cheerlights.com/cheerlights-api/">CheerLights colour names</a>,
|
- the <a href="http://cheerlights.com/cheerlights-api/">CheerLights colour names</a>,
|
||||||
- a HEX colour value - eg `#aa9900`
|
- a HEX colour value - eg `#aa9900`
|
||||||
- an RGB triple - `190,255,0`
|
- 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
|
#### Rotate the screen
|
||||||
|
|
||||||
Format: `R<angle>`
|
Format: `R<angle>`
|
||||||
|
|
||||||
`angle` must be 0, 90, 180 or 270.
|
`angle` must be 0, 90, 180 or 270.
|
||||||
|
|
||||||
#### Flip the screen
|
#### Flip the screen
|
||||||
|
|
||||||
Format: `R<axis>`
|
Format: `R<axis>`
|
||||||
|
|
||||||
`axis` must be either `H` or `V` to flip on the horizontal or vertical axis respectively.
|
`axis` must be either `H` or `V` to flip on the horizontal or vertical axis respectively.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user