Things used in this project

Schematics

SCHEMATICS
Screen shot 2017 09 10 at 22 28 38 odfp2lxqk4

Code

Source codeC/C++
#include "Grove_LCD_RGB_Backlight.h"

rgb_lcd lcd;

const int colorR = 200;
const int colorG = 200;
const int colorB = 200;

void setup() {
    // set up the LCD's number of columns and rows:
    lcd.begin(16, 2);

    // Set up background backlight color
    lcd.setRGB(colorR, colorG, colorB);

    lcd.print("hello, world!");

    Time.zone(+2.00);

    delay(1000);
}

void loop() {
    lcd.setCursor(0,0);
    // Format from C library: https://www.gnu.org/software/libc/manual/html_node/Low_002dLevel-Time-String-Parsing.html
    lcd.print(Time.format(Time.now(), "%T"));

    delay(1000);
}

Credits

Zzlcgbnzwko5lq80k1x1
An Tran
5 projects • 8 followers
tech, startup, web, mobile, iot, dev
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login