Go Down

Topic: MATLAB tutorial at playground.arduino.cc (Read 346 times) previous topic - next topic

marijnmoes

Hi guys,

I tried to write a value to an arduino mega2560 and it didn`t work...


At the website of playground.arduino.cc/Interfacing/Matlab there is a couple of sentences about writing a digital value to pin 13:


writeDigitalPin(a,13,1);


This didn`t work out for me, I tried instead:


writeDigitalPin(a, 'D13',1);


This worked for me. I installed the Arduino support from a link in the program, is there a difference between the support from playground.arduino.cc and MATLAB itself?
Or is it just a fault at the website?

Kind regards,

Marijn

PaulS

Quote
Or is it just a fault at the website?
The playground is a wiki. If you think that there is a mistake on the website, feel free to fix it.
The art of getting good answers lies in asking good questions.

Go Up