With CASP Python Support user can now
- Create and deploy complete CASP models on all supported targets (right from 8-bit Arduino boards to desktop/server computers) using a Python script
- Create CASP blocks from Python script
- Access hardware GPIO pins of a microprocessor/micro-controller board from Python script running on the host computer
- Interface Python script on the host computer with the logic running on the connected embedded microprocessor/micro-controller board
- Embed Python script in a CASP block that can be used along side with other blocks in a CASP model
Getting Started
- Download and install CASP software.
- Ensure CASP BSP is installed for the target you want to deploy your model. CASP BSP can be downloaded from here.
- Ensure Python is installed on the computer.
- From CASP GUI install CASP Python Libraries. Please refer ‘Python Support’ section of CASP documentation on how to install and use these libraries.
- Run examples from ‘casp_user_data/pycasp/examples’ folder located in user’s Documents directory.
- Please refer to CASP Python Libraries documentation for detailed description of various CASP Python namespaces and functions.