which can be used as pwm like this
No not can be used, this IS PWM
Duty cycle is a ratio and therefor has no units.
It is simply the value given in the analog write command divided by 255.
which can be used as pwm like this
No not can be used, this IS PWM
Duty cycle is a ratio and therefor has no units.
It is simply the value given in the analog write command divided by 255.