Arduino writePWMDutyCycle not performing the cycle
Hi,
I am having a weird issue with the Arduino via Matlab code.
this is the simple code I have
a = arduino
configurePin(a,’D12′,’PWM’)
writePWMVoltage(a,’D12′,3)
writePWMDutyCycle(a,’D12′,0.5)
When I run this code, it is just outputting 1.65V which is 0.5 of 3.3V (Due) instead of doing the cycle of the voltage.
Anyone made this cycle to work?Hi,
I am having a weird issue with the Arduino via Matlab code.
this is the simple code I have
a = arduino
configurePin(a,’D12′,’PWM’)
writePWMVoltage(a,’D12′,3)
writePWMDutyCycle(a,’D12′,0.5)
When I run this code, it is just outputting 1.65V which is 0.5 of 3.3V (Due) instead of doing the cycle of the voltage.
Anyone made this cycle to work? Hi,
I am having a weird issue with the Arduino via Matlab code.
this is the simple code I have
a = arduino
configurePin(a,’D12′,’PWM’)
writePWMVoltage(a,’D12′,3)
writePWMDutyCycle(a,’D12′,0.5)
When I run this code, it is just outputting 1.65V which is 0.5 of 3.3V (Due) instead of doing the cycle of the voltage.
Anyone made this cycle to work? arduino, matlab, pwm MATLAB Answers — New Questions