for (i = 0; i < 3; i++) {
value = 1 << (i + 19);
*(uint32_t*)led_set_addr |= value;
__delay_cycles(100000000); // half-second delay
*(uint32_t*)led_clr_addr |= value;
__delay_cycles(100000000); // half-second delay
}
}
/* Halt the PRU core - shouldn't get here */
//__halt();
}