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.
Revision 3:66c14c73bfdd, committed 2022-02-23
- Comitter:
- itbusch
- Date:
- Wed Feb 23 18:56:53 2022 +0000
- Parent:
- 2:ce1e2d72919d
- Commit message:
- xxx_Garagentor
Changed in this revision
| CONTRIBUTING.md | Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CONTRIBUTING.md Fri Oct 01 14:18:53 2021 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -# Contributing to Mbed OS - -Mbed OS is an open-source, device software platform for the Internet of Things. Contributions are an important part of the platform, and our goal is to make it as simple as possible to become a contributor. - -To encourage productive collaboration, as well as robust, consistent and maintainable code, we have a set of guidelines for [contributing to Mbed OS](https://os.mbed.com/docs/mbed-os/latest/contributing/index.html).
--- a/main.cpp Fri Oct 01 14:18:53 2021 +0000
+++ b/main.cpp Wed Feb 23 18:56:53 2022 +0000
@@ -51,7 +51,7 @@
TIM6->SR=0;
}
-void Timer_init()
+void initTimer()
{
RCC->APB1ENR |= 0b10000; //TIM6
TIM6->PSC=31999; //1ms
@@ -121,7 +121,7 @@
Lichtschranke.enable_irq();
heben.period_us(100);
senken.period_us(100);
- Timer_init();
+ initTimer();
}