How I can add Arduino SoftwareSerial library?

4 visualizzazioni (ultimi 30 giorni)
Mirko
Mirko il 10 Mag 2021
Risposto: Dhruv il 21 Feb 2023
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?

Risposte (1)

Dhruv
Dhruv il 21 Feb 2023
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:

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by