This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

7segment counter

Hello, everyone, I'm new to ARM. I'm learning with LPC1768 training board. I wrote a code of 7segment counter which counts from 0 to 9. It works fine, but the problem is the G led of 7segment doesn't light. It only lights when number 4 appears. I tested English letters like A,b,C,d and F in this case when only A and F appear the G led lights. I use a hexadecimal array for the numbers and letters. I uploaded the screenshot of the code.
Thanks in advance.