This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
api:computer [2018/09/30 07:05] payonel [Computer API] |
api:computer [2020/04/11 05:46] ocawesome101 [Computer API] |
||
---|---|---|---|
Line 56: | Line 56: | ||
- `computer.beep([frequency:string or number[, duration: number])` | - `computer.beep([frequency:string or number[, duration: number])` | ||
- | Causes the computer to produce a beep sound at `frequency` Hz for `duration` seconds. This method is overloaded taking a single string parameter as a pattern of dots `.` and dashes `.` for short and long beeps respectively. | + | Causes the computer to produce a beep sound at `frequency` Hz for `duration` seconds. This method is overloaded taking a single string parameter as a pattern of dots `.` and dashes `-` for short and long beeps respectively. |
+ | - `computer.getDeviceInfo(): table` | ||
+ | |||
+ | Returns a table of information about installed devices in the computer. | ||
Contents | Contents | ||
----------- | ----------- | ||
{{page>api:contents&noheader&noeditbutton&nouser&nofooter}} | {{page>api:contents&noheader&noeditbutton&nouser&nofooter}} |