Device
            
             This file contains a procedure to select the type of device which is controlled through the simulator.  You can control EV3 or Powered Up devices.
            
            Constants
            
                
                
The device module.
                Source: lib/modules/device.whl, line: 11
                
            
            
                
                
The avaialable layers, layers 5..8 are only available for Powered Up.
                Source: lib/modules/device.whl, line: 14
                
                    | LAYER_1 | 0 | 
                    | LAYER_2 | 1 | 
                    | LAYER_3 | 2 | 
                    | LAYER_4 | 3 | 
                    | LAYER_5 | 4 | 
                    | LAYER_6 | 5 | 
                    | LAYER_7 | 6 | 
                    | LAYER_8 | 7 | 
                    | LAYER_9 | 8 | 
                    | LAYER_10 | 9 | 
                
            
            
                
                
The avaialable types of devices.
                Source: lib/modules/device.whl, line: 26
                
                     | DEVICE_NXT | 0 | 
                     | DEVICE_EV3 | 1 | 
                     | DEVICE_POWERED_UP | 2 | 
                     | DEVICE_SPIKE | 3 | 
                
            
            
                
                
Module calls for device functions.
                Source: lib/modules/device.whl, line: 32
                
            
            
            Procedures
            
            selectDevice
            Source: lib/modules/device.whl, line: 35
            
        E
        P
            
            Select the device.
            proc selectDevice(number device)
            Parameters:
            
                | Name | Type | Description | 
                | device | number | The device, valid values are DEVICE_EV3, DEVICE_POWERED_UP or DEVICE_SPIKE. |