diff --git a/hardware/sensehat/README.md b/hardware/sensehat/README.md index 32460d83..4df8f549 100644 --- a/hardware/sensehat/README.md +++ b/hardware/sensehat/README.md @@ -118,3 +118,9 @@ The following message properties can be used to customise the appearance: - `msg.color` - the colour of the text, default: `white` - `msg.background` - the colour of the background, default: `off` - `msg.speed` - the scroll speed. A value in the range 1 (slower) to 5 (faster), default: `3` + +#### Set the screen brightness + +Format: `D` + +`level` must be 0 (low) or 1 (high). diff --git a/hardware/sensehat/package.json b/hardware/sensehat/package.json index fa39522f..4f5302b3 100644 --- a/hardware/sensehat/package.json +++ b/hardware/sensehat/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-pi-sense-hat", - "version" : "0.0.5", + "version" : "0.0.6", "description" : "A Node-RED node to interact with a Raspberry Pi Sense HAT", "repository" : { "type":"git", diff --git a/hardware/sensehat/sensehat.html b/hardware/sensehat/sensehat.html index 90bd2b9d..0aa00b04 100644 --- a/hardware/sensehat/sensehat.html +++ b/hardware/sensehat/sensehat.html @@ -130,6 +130,10 @@ To scroll a single character, append a blank space after it - "A ".
  • msg.background - the colour of the background, default: off
  • msg.speed - the scroll speed. A value in the range 1 (slower) to 5 (faster), default: 3
  • + +

    Set the screen brightness

    +

    Format: D<level>

    +

    level must be 0 (low) or 1 (high).