Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:drivers:concepts [2022-09-13 08:44] mattias [Using a Device Driver] |
blocks:drivers:concepts [2024-04-18 11:24] (current) admin [Using a Device Driver] |
||
---|---|---|---|
Line 11: | Line 11: | ||
If an adequate driver for your device already exists, using it is quite straightforward. | If an adequate driver for your device already exists, using it is quite straightforward. | ||
- | - Obtain the drivers. Drivers provided by PIXILAB may come as part of your Blocks installation, | + | - Obtain the drivers. Drivers provided by PIXILAB may come as part of your Blocks installation, |
- | + | - Install the file(s) into your Blocks server by extracting | |
- | - Install the file(s) into your Blocks server by extract | + | - Some rarely used device drivers are located in the driver-archive directory. If you need any of those, move those over from the archive |
- | - Some rarely used device drivers are located in the driver-archive directory. If you need any of those, move those to the driver directory. | + | |
- Make sure to also copy the latest version of all files in //system// and // | - Make sure to also copy the latest version of all files in //system// and // | ||
- Restart the Block server. | - Restart the Block server. | ||
Line 20: | Line 19: | ||
:!: When installing the files downloaded above, take care when copying the files into an existing PIXILAB-Blocks-root/ | :!: When installing the files downloaded above, take care when copying the files into an existing PIXILAB-Blocks-root/ | ||
- | The driver(s) will now appear on the " | + | The driver(s) will now appear on the " |
===== Driver Development Prerequisites ===== | ===== Driver Development Prerequisites ===== | ||
Line 42: | Line 41: | ||
* Development tools and code, as described [[blocks: | * Development tools and code, as described [[blocks: | ||
* Access to the device to be controlled, as well as all relevant documentation. | * Access to the device to be controlled, as well as all relevant documentation. | ||
- | * If the device is controlled by serial data rather than a direct network connection, you'll need a [[blocks: | + | * If the device is controlled by serial data rather than a direct network connection, you'll need either a USB-to-serial interface if you're connecting through a PIXILAB Player or a [[blocks: |