Hey there =)
so i read on the website that analogWrite takes the "int" datatype, but no mention of other datatypes. Im trying to optimize my code to pass a PWM value to an ArduinoUNO analog-PIN.
I thought it would be more efficient to use the "byte"-datatype, but it seems to me like the output is actually lower when i use byte than when i use int? Is this placebo?
Im unsure now, since I read something about analogWrite not taking byte datatypes or halving the value?
What is the truth?