Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How do i create a objet of a S-function? - Adding C++ libraries in Simulink for Arduino

1 visualización (últimos 30 días)
Hello!
Look at those tutorials. 1. https://www.youtube.com/watch?v=L86n9wZZz-g 2. https://www.youtube.com/watch?v=p7fQ9QsYd0s 3. https://www.youtube.com/watch?v=G5ql23PaC_Q
Those tutorials explain how use include Arduino C++ libraries in a S-function and use that S-function to control LCD and sensors, etc.
But the problem is that for every new line or another sensor, I need to create a new LCD S-function.
Is there a method so I can create a object of a S-function so I don't need to create a new S-function for every different new LCD printout. Or if I have have two types of gyros or temperature sensors who is required a C++ library for Arduino, I can just create an object of a S-function.
Best regards

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by