Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
api:computer [2020/04/11 03:45]
ocawesome101 [Computer API] add getDeviceInfo
api:computer [2020/04/11 03:46] (current)
ocawesome101 [Computer API]
Line 57: Line 57:
  
   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.beep([frequency:string or number[, duration: number])`+- `computer.getDeviceInfo()table`
  
   Returns a table of information about installed devices in the computer.   Returns a table of information about installed devices in the computer.