How to add a listener to an Arduino Pin?

6 views (last 30 days)
Chaitanya Jha
Chaitanya Jha on 14 Nov 2019
Answered: Priyanshu Mishra on 4 Dec 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 :)

Answers (1)

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

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!