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.c@0:716b93ab9a58, 2021-10-29 (annotated)
- Committer:
- rajathr
- Date:
- Fri Oct 29 20:56:20 2021 +0000
- Revision:
- 0:716b93ab9a58
AS ON 29TH OCT AT 5PM
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rajathr | 0:716b93ab9a58 | 1 | #include "led1.h" |
rajathr | 0:716b93ab9a58 | 2 | #include "gpio.h" |
rajathr | 0:716b93ab9a58 | 3 | |
rajathr | 0:716b93ab9a58 | 4 | void init_LED1(void) |
rajathr | 0:716b93ab9a58 | 5 | { |
rajathr | 0:716b93ab9a58 | 6 | InitPortBPin0asOutput(); |
rajathr | 0:716b93ab9a58 | 7 | } |
rajathr | 0:716b93ab9a58 | 8 | |
rajathr | 0:716b93ab9a58 | 9 | void toggle_LED1(void) |
rajathr | 0:716b93ab9a58 | 10 | { |
rajathr | 0:716b93ab9a58 | 11 | toggleGPIOB0(); |
rajathr | 0:716b93ab9a58 | 12 | } |