From 0dff37c5b34d2e9963e79cb950576d18c5766752 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 29 Apr 2014 15:26:23 -0700 Subject: [PATCH] Fixed example code --- Component-Abstract-Bus.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Component-Abstract-Bus.md b/Component-Abstract-Bus.md index d6d65df..7cd4d53 100644 --- a/Component-Abstract-Bus.md +++ b/Component-Abstract-Bus.md @@ -14,7 +14,7 @@ Callbacks: - `send(address: number, data: table): boolean` Sends data across the abstract bus. The table `data` is in the form of key-value pairs, e.g. ``` - lua> component.abstract_bus.send(0xFFF, { action="dial", address="Losomdeh Salothirt Erpac" }) + lua> component.abstract_bus.send(0xFFFF, { ["action"]="dial", ["address"]="Losomdeh Salothirt Erpac" }) ``` * See SGTech2 documentation for more info on the Abstract Bus. - `maxPacketSize(): number`