mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-03 11:07:23 -04:00
Fixed example code
parent
6310716fd5
commit
0dff37c5b3
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user