Skip to content

Commit 7809753

Browse files
committed
docs: add header comment
1 parent 4d71dad commit 7809753

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

examples/backlight/BacklightBlink/BacklightBlink.ino

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
/*
2-
Changes the display backlight from very dim to 100%
3-
This example code is in the public domain.
4-
*/
2+
* This example shows how to change the backlight intensity of the GIGA Display Shield.
3+
*
4+
* 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+
*/
510

611
#include <Arduino_GigaDisplay.h>
712

813
//Create backlight object
914
GigaDisplayBacklight backlight;
1015

1116
void setup() {
12-
//init library
1317
backlight.begin();
1418
}
1519

0 commit comments

Comments
 (0)