You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • It is?

    It sure isn't on my PCD8544.

    This snippet of code is what I've been using to control the backlight (with the backlight pin on A2 - I don't have it soldered directly onto the board). When called, it turns the backlight on for 5 seconds (or resets the timer to 5 seconds if the backlight is already on). As you can see, this means that setting the pin high turns on the backlight...

    g.backlighton = function() {
    	digitalWrite(A2,1);
    	if (this.bktim) {
    		clearTimeout(this.bktim);
    		this.bktim=0;
    	}
    	this.bktim=setTimeout("digitalWrite(A2,0­);g.bktim=0;",5000);
    };
    
About

Avatar for DrAzzy @DrAzzy started