Hello everyone,
I am trying to create a traffic light system using SCT using the LPC55S69 Evaluation Board.
The board uses a single RBG LED which can lights up red, green and blue led at a time.
Last time, i posted a topic about problem blinking the Blue LED in "LPC55S69 Blinky Match using SCT" topic. This time, the problem that I encounter is that when I set the LED to RED, the LED did not blink when using SCT.
First of all, in the datasheet, I noticed that the BLUE LED has a function that contains SCT_OUT0. I guess that is why the port is able to use the SCT. However, the RED LED does not have any SCT output function and instead only has input SCT function called SCT_GPI3.
Even though both the RED and BLUE is the same LED, I cannot control the RED LED using the SCT.
Is there any solution/way for me to control the RED LED as well using the SCT output.
I plan to use the blinky match SCT operation to make a traffic light, so that the BLUE,RED,GREEN LED will light up at an interval of 1 second each.
Can I somehow set the SCT_GPI3 to be able to be controlled by the SCT_OUT0 ?
Below is my sample code to try to blink the RED LED using SCT.
Thank you