From 89bf0c31fea218bfbff4f78a97240963876abaf6 Mon Sep 17 00:00:00 2001 From: mik3r Date: Sat, 18 Mar 2017 20:37:03 -0400 Subject: [PATCH] Added the header to the beggining of the message being sent to the display device --- lib/LedSign/M500.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LedSign/M500.pm b/lib/LedSign/M500.pm index a12f725..85b88c4 100644 --- a/lib/LedSign/M500.pm +++ b/lib/LedSign/M500.pm @@ -599,7 +599,7 @@ sub encode { $msg .= $pause; } $msgdata .= "\r\r\r"; - $msg .= $msgdata; + $msg = $header . $msg . $msgdata; # End of Text - ETX # Supposed to be a checksum - sign seems to ignore it though. # EOT - End of Transmission