Added sensor dimming, independent colour and brightness

Added support for dimming one chosen LED via the pressure sensor;
Added management for dp updates to color and/or brightness level independently;
Small changes in user prompt code;
Extracted two small functions for convenience

Signed-off-by: Luca Coppadoro <lcoppa@rocketmail.com>