Create custom device driver block for Arduino

版本 1.0.1 (2.6 MB) 作者: Saipraveen
This submission includes a MATLAB® live script that illustrates the process of creating a custom device driver block using system object.
751.0 次下载
更新时间 2019/9/17

查看许可证

The included MATLAB® live script will help you understand the process of creating a custom device driver block using system object for any of the Simulink supported targets. When deployed, the device driver block will provide access to external peripherals, sensors or actuators which are connected to the hardware by calling the custom C/C++ device driver code.
As an example, you will create a device driver block to interface Arduino Mega with an ePaper display through an SPI interface.

Some additional information on live scripts: https://www.mathworks.com/help/matlab/matlab_prog/what-is-a-live-script-or-function.html

Files included in this submission -
The attached .zip file contains 3 folders:
1) Live Script: Provides step by step instructions & explains how to create a system object.
2) Model: This folder contains a Simulink model to test the created system object's functionality.
3) System Object: This folder contains the system object - 'ePaper' which can be used to test the example directly.

引用格式

Saipraveen (2024). Create custom device driver block for Arduino (https://www.mathworks.com/matlabcentral/fileexchange/72541-create-custom-device-driver-block-for-arduino), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
与 R2017a 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Code Generation, GPU, and Third-Party Support 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

ePaper on Arduino/System Object/ePaper

ePaper on Arduino/Live Script

版本 已发布 发行说明
1.0.1

Updated thumbnail & description text

1.0.0