Fix colour/color type and add set_letter for single char msg

This commit is contained in:
Nick O'Leary
2016-03-04 20:13:03 +00:00
parent a3e2365ab9
commit f4971aff69
5 changed files with 15 additions and 6 deletions

View File

@@ -232,7 +232,7 @@ module.exports = function(RED) {
HAT.close(this,done);
});
var handleTextMessage = function(line,msg) {
var textCol = colours.getRGB(msg.color);
var textCol = colours.getRGB(msg.color||msg.colour);
var backCol = colours.getRGB(msg.background);
var speed = null;
if (!isNaN(msg.speed)) {