'Text' command
CLI
text (text) (duration) (color) (size) (background color) (text alignment) (frame) (animate) (animate duration)
JSON
{"cmd":"text","msg":"(text)","duration":"(duration)","color":"(color)","size":"(size)","bgcolor":"(background color)","align":"(text
alignment)","frame":"(frame)","animate":"(animate)","aniduration":"(animate duration)","bgcolor":"(background color)"}
Example
text HelloWorld! 30 black 3 white left text
text “Hello World!” 30 lime 4 yellow center main
{"cmd":"text","msg":"Hello World!","duration":"30","color":"lime":"size":"4","bgcolor":"white","align
":"left","frame":"main","animate":"slide","aniduration":"1","bgcolor":"red "}
Note
- In CLI mode, if message contains ‘space’, use "" to enclose the message string
- Align can be center, left or right
- Frame can be text, main, t1, t2, t3 or t4
- duration: unit is ‘seconds’, ‘0’ means to end play
- animate: can be delay, fade, slide, left, right
- animate duration: unit is ‘seconds’