TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139266 times)
  2. FAT32 Library (71755 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47432 times)
  5. Network WiFi Library (43093 times)
  6. FT800 Library (42408 times)
  7. GSM click (29835 times)
  8. mikroSDK (28101 times)
  9. PID Library (26886 times)
  10. microSD click (26198 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Visual TFT/GLCD Project

MMB TFT backlight dimmer

Rating:

1

Author: John Code

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Category: TFT

Downloaded: 948 times

Followed by: 4 users

License: MIT license  

Code to dim the backlight from the TFT display on the Mikromedia Board. Made for the PIC18FJ board, HW Rev. 1.05 but is easy to adopt. PWM is made with Timer2, the PWM module is not used, although connected to this port. Brightness can be adjusted from 10% to 100% in 10% steps.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "MMB TFT backlight dimmer" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "MMB TFT backlight dimmer" changes.

Do you want to report abuse regarding "MMB TFT backlight dimmer".

  • Information
  • Comments (1)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Visual TFT/GLCD Project Blog

User interface

User interface

The user interface for this code

View full image

This code doesn't use the PWM module, so it is compatible to more applications.

I measured the current consumption (5V input USB mini) and it was approx. as follows:

  • backlight off, screen black: 31mA
  • 10%:   35mA
  • 50%:   57mA
  • 100%: 85mA

No other peripherals were connected.

 

 

ALSO FROM THIS AUTHOR

AM2302 (DHT22) on GLCD

5

AM2302 temperature and humidity sensor (which includes DHT22): values showed on a GLCD (128x64 pixel, KS108 controller), with min and max values. Implemented on a PIC16F886, but easy to change to another MCU. Because of the font size approx. 200 Bytes RAM and 8kBytes ROM are needed.

[Learn More]