Why did you use Matlab at all? Copy the example from page of the manual into your Arduino sketch and use that. It works without modification.
Pete
Why did you use Matlab at all? Copy the example from page of the manual into your Arduino sketch and use that. It works without modification.
Pete