How to add a listener to an Arduino Pin?

7 visualizzazioni (ultimi 30 giorni)
Chaitanya Jha
Chaitanya Jha il 14 Nov 2019
Risposto: Priyanshu Mishra il 4 Dic 2019
Hi, I would like to add a listener to an Arduino pin that I have configured as input.
a = arduino;
configurePin(a,'D13','DigitalInput');
I have tried searching on Google and MATLAB Answers but I found nothing. This is very important for my project, any help will be highly appriciated, thank you :)

Risposte (1)

Priyanshu Mishra
Priyanshu Mishra il 4 Dic 2019
Hi Chaitanya,
For adding listneing, I would suggest you to go through the following link

Categorie

Scopri di più su MATLAB Support Package for Arduino Hardware in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by