Watch this Author's files
Can I control a servo motor from Matlab without using a motor shield
I tried to use this code:
a.analogWrite(10, x); % where x= from 0 up to 255
but it did not work
can anyone help me??