summaryrefslogtreecommitdiff
path: root/mesecons_luacontroller/help/digilines.txt
blob: 85d107627508f3589e98bad34731b9b765893d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Digilines
=========

If the digilines mod is installed, then Luacontrollers can also send/receive digilines signals.

To send a digilines signal, use the digiline_send() function.
Example:
digiline_send("lcd","Hello") --Sends the message "Hello" on the channel "lcd"

Please note that digilines messages are sent from all pins, and there is no need or ability to select one.

When a digilines signal is received, an event occurs.
Example:
{
	type = "digiline",
	channel = "lcd",
	msg = "Hello"
}