Hi there, i am trying to run a arduino code to generate 3.3 volts and 1.64 volts. I have used analogwrite to generate the voltages. From my understanding, 255 pwm is equal to 5v. With this understanding, I am able to generate 3.3 volts which is around 155 pwm. The problem here is I can not get 1.64 volts by using this method. Anyone can help me on that ?
I have upload my code below. Thanks in advance.
Drone_arduino_myself.ino (2.07 KB)