**Keil uVision5 - ARM Cortex M0+ - Embedded C
programming
Modify the program below so that the Red, Green, and
Blue LEDs are switched ON and OFF in a sequence with one second
delay for Red and Green LEDs, and 0.5 second delay for the Blue
LED.
 #include "MKL25Z4.h"
        
        void delay(int n);
        int main (void) {
                        
        SIM_SCGC5 |= SIM_SCGC5_PORTB(1); /* enable clock to Port B */
        PORTB_PCR18 |=PORT_PCR_MUX(1);   /* Configure PORTB ,pin 18 as GPIO ; set MUX*/
        GPIOB_PDDR=(1UL <<...