Surely you must have had the algorithm in order to write the code
If your program is broken down into well named logical functions called either order or as the result of tests then drawing a flowchart should not be too difficult
Are you sure, I'm going to ask this in different way.
Why have you not given attribution the the author (Chamal Liyange) you copied parts of the code from when you copied it from github - you didn't even change the variable names!!!!
switch (DTMFdata)
{
case 0: //D
continue;
break;
case 1: //1
continue;
break;
case 2: //2
continue;
break;
case 3: //3
continue;
break;
case 4: //4
continue;
break;
case 5: //5
continue;
break;
case 6: //6
continue;
break;
case 7: //7
continue;
break;
case 8: //8
continue;
break;
case 9: //9
continue;
break;
case 10: //0
continue;
break;
case 11: //*
continue;
break;
case 12: //#
DTMFvalue2 = '#'; // Setting the value of the actual key pressed to DTMFvalue variable
break;
case 13: //A
continue;
break;
case 14: //B
continue;
break;
case 15: //C
continue;
break;
}
:o
Also, I see you didn't take the advice offered about eliminating gotos
I have almost 500 line code
About 250 more than you should have.
Well done on working around Chamal Liyange's pinMode mistake though.
Your duplicate post in Project Guidance has been deleted
Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting will result in a timeout from the forum.
In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.