Module driver
Library for handling drivers, which are a secure way of accessing components
Functions
changeDriver (type, addr, string) | Force the component with given address and type to use the driver found at 'path' |
getDriver (type) | Gets an arbitrarily chosen driver of the given type |
Functions
- changeDriver (type, addr, string)
-
Force the component with given address and type to use the driver found at 'path'
Parameters:
- getDriver (type)
-
Gets an arbitrarily chosen driver of the given type
Parameters:
- type string The type of the drievr to get
Returns:
-
optional driver
The loaded driver or nil if none found