New to programming need help

I am making an led aquarium light. I am using an uno with ds 1307rtc and a Adafruit RGB lcd shield. I have the fade in and fade out of the led's figuered out but I would like to use the lcd shield's buttons to set on-off times and max brightness of the led's.

Aquarium_lights.ino (18.5 KB)

but I would like to use the lcd shield's buttons to set on-off times and max brightness of the led's.

OK. Permission granted.

Did you have a question?

Sorry about that. My question is about how to write the code. I want to be able to adjust the on-off times and set the max brightnes of the led's using the led shields buttons. Just not sure how to write the code. I have this so far.
void loop() {

uint8_t buttons = lcd.readButtons();

if (buttons) {
lcd.clear();
lcd.setCursor(0,0);
if (buttons & BUTTON_UP) {
lcd.print("Set blue max");

Write a synopsis of your hardware.

Write an outline of your user interface describing what user interactions are required with the hardware to produce your desired results down to a step-by-step user guide.

Then break that down into routines and subroutines to support those goals.

When you have problems make corrections to the outline post it and your current code with a description of your difficulties vs what section of the outline documents the required action.

If you don't know what you want to do, how it's to work and can't relate that to those you're asking help of you're going to be disappointed really quickly.