How I can add Arduino SoftwareSerial library?

5 ビュー (過去 30 日間)
Mirko
Mirko 2021 年 5 月 10 日
回答済み: Dhruv 2023 年 2 月 21 日
Good evening,
how can I add the Arduino SoftwareSerial library in Simulink, to use more than one Arduino serial
I have an Arduino project that uses SoftwareSerial to communicate with two devices.
Has anyone tried adding this library?

回答 (1 件)

Dhruv
Dhruv 2023 年 2 月 21 日
Simulink support package for Arduino does not support software serial as such.
But if needed, you can create a custom block by following the steps mentioned in the link below:

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by