Raspberry Pi Driver Block SFunction
An example SFunction block for Raspberry Pi showing basic usage of the WiringPi library
The latest version of this file and others can be found at our Raspberry Pi downloads page:
http://minseg.webs.com/downloads
A complete Arduino library and curriculum is available here:
http://minseg.com/pages/downloads
coming soon:
- PWM
- Quadrature Encoder
- MPU6050
and others!
Cite As
Joshua Hurst (2024). Raspberry Pi Driver Block SFunction (https://www.mathworks.com/matlabcentral/fileexchange/41491-raspberry-pi-driver-block-sfunction), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Code Generation > Embedded Coder >
- Test and Measurement > Data Acquisition Toolbox > Hardware Discovery and Setup >
- Simulink > Simulation > Prepare Model Inputs and Outputs >
Tags
Acknowledgements
Inspired by: Device Drivers
Inspired: Raspberry Pi and Arduino Serial Communication, netHAT EtherCAT Slave Block SFunction for Raspberry Pi, Raspberry Pi Simulink Driver Blocks ADC DAC PWM
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.