Newbie in trouble with Multiple Blink WO Delay

Hello,
I am obviously a newbie here.. And of course, I need some guidance..

I am attempting to replace an old clock motor timer system that uses micro switches and cogs to turn lights on and off in a pattern. As it stands, I just place the pins (which close the micro switch as they rotate) in the pattern I want. It has 20 cogs on it, so I can create 20 patterns.

I used Robin2's demonstration code for multiple delays and it compiles great and loads to the Arduino mega. When I run the loop, output A and output B time as requested, but C and D don't seem to run.

I believe I have a bracket missing or in the wrong place but for the life of me, I cant seem to figure it out. I have the cookbook and getting started with Arduino in my kindle and have searched for what I'missing.

Can someone please point me in the right direction.

mYVERSION.ino (3.93 KB)

but C and D don't seem to run.

  //updateoutput_C_State();
  // updateoutput_D_State();

Do you suppose this has anything to do with why they don't run?

All I can say is DUH...

I must have stared at the sketch too long.. I missed that for over an hour of going line for line..

Time to step away from the Arduino Sir !!

THANKS A MILLION

Anybody know what library I need to use a keypad and LCD to edit the duration and interval on this sketch? Is there a sketch I could use as a reference for the input and LCD parts?

Sure, search the forum.

Also, Google has lots: