So, you're saying I should add this mode change code
if(mode == 1)
{
mode1(); //directs teh program to teh section with the flashes you selected
}
if(mode == 2)
{
mode2(); //directs teh program to teh section with the flashes you selected
}
if(mode == 3)
{
mode3(); //directs teh program to teh section with the flashes you selected
}
if(mode == 4)
{
mode4(); //directs teh program to teh section with the flashes you selected
}
if(mode == 5)
{
mode5(); //directs teh program to teh section with the flashes you selected
}
after every call to buttoncheck()? And what are you getting at with the function names? Are you suggesting I call it "buttonCheck"? Does that affect the operation at all or is it just for convention's sake?