Advertisement
Guest User

Untitled

a guest
Jun 20th, 2012
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.52 KB | None | 0 0
  1. #include "hardware.h"
  2.  
  3. // Initialise the hardware
  4. void appInitHardware(void) {
  5.     initHardware();
  6. }
  7. // Initialise the software
  8. TICK_COUNT appInitSoftware(TICK_COUNT loopStart){
  9.     return 0;
  10. }
  11. // This is the main loop
  12. TICK_COUNT appControl(LOOP_COUNT loopCount, TICK_COUNT loopStart) {
  13.  
  14.     // -------- Start LED-------
  15.     // The LED can be manipulated using the calls in led.h
  16.    
  17.     // To turn the LED on:-
  18.     LED_on(&L0_LED);
  19.    
  20.     // To turn the LED off:-
  21.     //LED_off(&L0_LED);
  22.     // -------- End   LED-------
  23.  
  24.     return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement