Item Symbol Condition Min. Typical Max. Unit
Backlight PWM Voltage VPWM - 2.5 3.3 5.5 V
Backlight PWM Frequency fPWM VPWM = 3.3V 5 - 100 kHz
I could use the analogWrite(pin, dutyCycle) but I don't think that would work for my solution as I need 5 -100KHz and I think using analogWrite is only at 490hz
Just wanted to see if anyone could help me get my frequency setup.
You can easily change the PWM frequency of arduino analogWrite() function. If tutorial on your link is appeared too complicated for you, see another one - i hope it will be easier to understand:
Each of the 14 digital pins on the Mini can be used as an input or output. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. Pins 3, 5, 6, 9, 10, and 11 can provide PWM output; for details see the analogWrite() function.
Thank you for all the help. I ended up getting this to work on pin D5 (980). I just used two resistors to make 3.3 volts. Next is to use a photo cell to read brightness
So you still haven’t figured out how to properly set up the PWM (see posts #8#9#13 ) and used some kind of workaround. It would be useful for you to read the documentation