Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <msp430x14x.h>
- #include "watchdog.h"
- #include "diodes.h"
- void blinkSTATUS()
- {
- int i=0;
- for (int i; i < 10; i++)
- {
- setOppositeSTATUS();
- for(long int i=0x00; i<0xFFFF; i++){}
- }
- }
- void main()
- {
- disableWTD();
- initDiodes();
- enableIntervalWDT(ACLK, DIV8192, blinkSTATUS);
- for(;;);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement