Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
led1.h@0:34ee385f4d2d, 2021-10-23 (annotated)
- Committer:
- rajathr
- Date:
- Sat Oct 23 05:49:09 2021 +0000
- Revision:
- 0:34ee385f4d2d
At 23rd Oct 21 - All Code
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| rajathr | 0:34ee385f4d2d | 1 | #ifndef __LED1_H_ |
| rajathr | 0:34ee385f4d2d | 2 | #define __LED1_H_ |
| rajathr | 0:34ee385f4d2d | 3 | |
| rajathr | 0:34ee385f4d2d | 4 | |
| rajathr | 0:34ee385f4d2d | 5 | #ifdef __cplusplus |
| rajathr | 0:34ee385f4d2d | 6 | extern "C" { |
| rajathr | 0:34ee385f4d2d | 7 | #endif |
| rajathr | 0:34ee385f4d2d | 8 | |
| rajathr | 0:34ee385f4d2d | 9 | #include "main_Lec9.h" |
| rajathr | 0:34ee385f4d2d | 10 | |
| rajathr | 0:34ee385f4d2d | 11 | /*Defining Function that initializes the LED*/ |
| rajathr | 0:34ee385f4d2d | 12 | void init_LED1(void); |
| rajathr | 0:34ee385f4d2d | 13 | |
| rajathr | 0:34ee385f4d2d | 14 | /*Defining function that toggles the LED Switch*/ |
| rajathr | 0:34ee385f4d2d | 15 | void toggle_LED1(void); |
| rajathr | 0:34ee385f4d2d | 16 | |
| rajathr | 0:34ee385f4d2d | 17 | |
| rajathr | 0:34ee385f4d2d | 18 | #ifdef __cplusplus |
| rajathr | 0:34ee385f4d2d | 19 | } |
| rajathr | 0:34ee385f4d2d | 20 | #endif |
| rajathr | 0:34ee385f4d2d | 21 | |
| rajathr | 0:34ee385f4d2d | 22 | #endif /*__LED1_H */ |