Program to output 7 Segment
Made a function to input a char function and activate the respective pins
Giving Error : undefined reference to `display(char)'
_7_segment.ino (4.86 KB)
Program to output 7 Segment
Made a function to input a char function and activate the respective pins
Giving Error : undefined reference to `display(char)'
_7_segment.ino (4.86 KB)
Where does the loop() function end in your program ?
I see the declaration for "void dislay(char dig)" right after loop(), but I don't see a function named "display()". The compiler will do what you say to do, not what you mean to do.
Time to start using an editor with a good auto-complete, then spelling errors like this are much harder to make.
Time to start using an editor with a good auto-complete, then spelling errors like this are much harder to make.
Rubbish. Visual Studio does auto-complete, and f*cks up more than it "helps".