Anonymous

Project:Notification Board: Difference between revisions

From London Hackspace Wiki
Line 44: Line 44:
===Proposed new protocol===
===Proposed new protocol===
There are 2 types of message:
There are 2 types of message:
:* Idle - for rolling messages, i.e. temprature, currently playing song, number of irc users
:* Idle - for rolling messages, i.e. temprature, currently playing song, number of irc users. Will keep last value till updated.
:* Alert - for one time shown messages, allows sounds
:* Alert - for one time shown messages, allows sounds


====Idle====
====Idle====
To format an idle message for transmitting to the arduino, you need to know the following:
The settings for idle messages are:
* Idle message slot [1-5] - (see list below for reserving a slot)
* Message slot [1-5] - (see list below for reserving a slot)
* Time sensitive? [1-0] - If you need to bump the idle message to be the next shown, i.e. currently playing song changes
* Time sensitive? [0-1] - If you need to bump the idle message to be the next shown, i.e. currently playing song changes
* Text of message [up to 21 chars]
* Message [up to 21 chars]




Line 65: Line 65:


'''STX'''2'''ETB'''1'''ETB'''Iron Maiden - Prowler'''EOT'''
'''STX'''2'''ETB'''1'''ETB'''Iron Maiden - Prowler'''EOT'''
====Alert====
The settings for alert messages are:
* Message slot [A] - Denotes alerts from idle messages
* Blink [0-1] - Blink the display for more attention
* Sound [0-5] - Set off a sound, see list
* Display timeout - The length of time to display the message for
* Message [up to 21 chars]
Examples:
(Substituting STX, ETB and EOT for their respective ascii chars.)
To send, Ping: Solexious, with sound ping and blinking for 5 seconds:
'''STX'''A'''ETB'''1'''ETB'''1'''ETB'''5'''ETB'''Ping: Solexious'''EOT'''


==Feature Requests==
==Feature Requests==
1,077

edits