This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
component:eeprom [2016/01/06 21:06] magik6k |
component:eeprom [2017/05/25 02:01] alexbuzzbee Clarify note on `getData()` |
||
---|---|---|---|
Line 16: | Line 16: | ||
- `getSize():number` | - `getSize():number` | ||
Gets the maximum storage capacity of the EEPROM. | Gets the maximum storage capacity of the EEPROM. | ||
+ | - `getDataSize():number` | ||
+ | Gets the maximum data storage capacity of the EEPROM. | ||
- `getData():string` | - `getData():string` | ||
- | Gets currently stored byte-array (component address of main boot device). | + | Gets currently stored byte-array (usually the component address of the main boot device). |
- `setData(data:string)` | - `setData(data:string)` | ||
Overwrites currently stored byte-array with specified string. | Overwrites currently stored byte-array with specified string. |