Sorry guys.. This was an awfully careless mistake.. Anyways, the solution is the mistake i made on the line for "case 9:"(recall that I didnt know if I could use 0 for case so I had to increment all digits I wantd to display by 1 so, to display the number 8, I had to look at "case 9: "
I had included that extra 3 commands:
onE(7);onE(8);onE(9);
and as mentioned earlier by one of u guys, the 'off' command also had 3 extra ones..
off(7);off(8);off(9);
Anyway, thank yall for taking your time reading this! And I also wanted to ask this also..
As I said earlier, I am a beginner.. what is the next step?!!
I learnt digital I/O.. What I feel is the basics.. What to do next? Shud I move to Analogue? theres lots of libraries to learn from.. Where do I start?! I know C++.. All the programming I have done so far is basically C++ right?..
Again.. WHAT SHUD I DO NEXT AND WHERE DO I START?!