mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-04 03:27:19 -04:00
Fixed example code
parent
6310716fd5
commit
0dff37c5b3
@ -14,7 +14,7 @@ Callbacks:
|
|||||||
- `send(address: number, data: table): boolean`
|
- `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.
|
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.
|
* See SGTech2 documentation for more info on the Abstract Bus.
|
||||||
- `maxPacketSize(): number`
|
- `maxPacketSize(): number`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user