We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d71dad commit 7809753Copy full SHA for 7809753
examples/backlight/BacklightBlink/BacklightBlink.ino
@@ -1,15 +1,19 @@
1
/*
2
- Changes the display backlight from very dim to 100%
3
- This example code is in the public domain.
4
-*/
+ * This example shows how to change the backlight intensity of the GIGA Display Shield.
+ *
+ * The backlight intensity is set by passing a number between 0 and 100 to the .set() method.
5
+ * Here we set the backlight to 0% and 100% intensity in a loop, changing the value every 1 second.
6
7
+ * Initial author: Martino Facchin @facchinm
8
+ * Modified by: Ali Jahangiri @aliphys
9
+ */
10
11
#include <Arduino_GigaDisplay.h>
12
13
//Create backlight object
14
GigaDisplayBacklight backlight;
15
16
void setup() {
- //init library
17
backlight.begin();
18
}
19
0 commit comments