Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Place your initialization/startup code here (e.g. MyInst_Start()) */
- const int LED_ONST=0x1;
- for(;;)
- {
- /* Place your application code here. */
- while (Status_Reg_1_Read()==0){};
- Cydelay(5000);
- Control_Reg_1_write(1);
- // com este código o LED está ligado 5s e depois apaga-se
- }
Add Comment
Please, Sign In to add comment