Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "hardware.h"
- // Initialise the hardware
- void appInitHardware(void) {
- initHardware();
- }
- // Initialise the software
- TICK_COUNT appInitSoftware(TICK_COUNT loopStart){
- return 0;
- }
- // This is the main loop
- TICK_COUNT appControl(LOOP_COUNT loopCount, TICK_COUNT loopStart) {
- // -------- Start LED-------
- // The LED can be manipulated using the calls in led.h
- // To turn the LED on:-
- LED_on(&L0_LED);
- // To turn the LED off:-
- //LED_off(&L0_LED);
- // -------- End LED-------
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement