Update
Switched to the 16F1827 that allows having PWM on RA4 for backlight (BL) dimming. Also changed the display crystal to 16 MHz for better compatibility with other devices running on 4, 8, 16, etc. MHz.
Here's a short video of the dimming. I need a lot more practice making videos. A repurposed command (0x16) is used. PWM frequency is 500 Hz, In the video, the BL begins at 30% on time. Then goes to full on, then 10% on (quite dark), 0% on, and ends back at 30% on.
I cannot see the need for many BL levels, so will probably just have full on, one level of dim, and full off. The 30% on seems about right to me. Other ideas?
John
Switched to the 16F1827 that allows having PWM on RA4 for backlight (BL) dimming. Also changed the display crystal to 16 MHz for better compatibility with other devices running on 4, 8, 16, etc. MHz.
Here's a short video of the dimming. I need a lot more practice making videos. A repurposed command (0x16) is used. PWM frequency is 500 Hz, In the video, the BL begins at 30% on time. Then goes to full on, then 10% on (quite dark), 0% on, and ends back at 30% on.
I cannot see the need for many BL levels, so will probably just have full on, one level of dim, and full off. The 30% on seems about right to me. Other ideas?
John
Attachments
-
4.1 MB Views: 1