Need help with 4 digit 7 segment arduino clock

I am using 4 digit 7 segment display with arduino,ds1307,dht11. I want to add buttons for change time and date. And i want to add alarm. Pls help me. The code too big so i uploaded the ino file.

multiplexed_scroll_clock2.ino (15.2 KB)

You have 4-digit multiplexed 7SD Unit. You have Time (HR:MIN), Date (Day:Month), Temp (XX.XX), Humidity (XX.XX) to present. Do you want to show them one after another?

Is your display directly port driven or MAX7219 driven?

GolamMostafa:
You have 4-digit multiplexed 7SD Unit. You have Time (HR:MIN), Date (Day:Month), Temp (XX.XX), Humidity (XX.XX) to present. Do you want to show them one after another?

Is your display directly port driven or MAX7219 driven?

Direct connected to arduino pin

Suny94:
Direct connected to arduino pin

Any schematic that will show the port you are using?

GolamMostafa:
Any schematic that will show the port you are using?

Its showing time date temperature perfectl. I just want to add button for change time and date, and alarm.

Suny94:
Its showing time date temperature perfectl. I just want to add button for change time and date, and alarm.

I tried to download your sketch 3 times; but, failed. Please, email it at: bdgmostafa@gmail.com