从Linux上设置专业LED标志的时钟

时间:2012-08-05 19:17:13

标签: linux

我有这些说明来设置我的专业LED标志的时钟,但我不能让它回应。我像这样发送文本

echo "<ID06><PC> Test message <E><EOT>" > /dev/prolite

以下是设置时钟的说明

5) SETTING INTERNAL TIME CLOCK
This is a special command to sync. or set the relative/real time clock of the display unit(s)
and it is the only GLOBAL command in this set of protocol. The format as shown below:

<TCCYYMMDDWhhmmssPH><E><EOT>


<, T, > ASCII "<", "T" & ">"
CC Century (19 = 19th century)
YY Year (00 - 99)
MM Month (01 - 12)
DD Day (01 - 31)
W Day of week (0 – Sunday; 6 - Saturday)
hh Hour (24 hour entry ONLY if displaying in 24 hour mode)
mm Minute (00 - 59)
ss Second (00 - 59)
P “0” = AM , “1” = PM (ignored in 24 hour mode)
H "0" =12 hr; "1" =24 hr display mode

这是我尝试过的,我只是用字母T,因为我真的不知道ASCII是什么意思。我很确定这就是我弄乱的地方。

echo "<T20120805003080010><E><EOT>" > /dev/prolite

这是将时钟设置为下午3:08,但符号不响应

 <E> signals end of text and <EOT> signals end of transmission.

有人可以告诉我我做错了什么或给我一个如何设置时钟的例子吗?感谢

0 个答案:

没有答案