I'm writing a program to display a number using 7-segment display. I'm also trying to set the decimal point for the same.
The decimal point will be set if I make the value of the variable equal to 1. This is done inside an infinite while loop.
But the problem is that the statements inside the loop doesn't get executed at all.
I have attached my C code for the same.
Please help me out.