This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:ae2common [2018/10/03 09:20] payonel |
component:ae2common [2018/10/03 09:24] payonel |
||
---|---|---|---|
Line 49: | Line 49: | ||
- `canReceive():number` | - `canReceive():number` | ||
Returns whether this component can receive energy on the connected side. | Returns whether this component can receive energy on the connected side. | ||
+ | |||
+ | ====Interface API==== | ||
+ | |||
+ | - `getInterfaceConfiguration([slot:number]):table` | ||
+ | Get the configuration of the interface. | ||
+ | |||
+ | - `setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean` | ||
+ | Configure the interface. | ||