Lehrer Busch / Mbed OS xxx_Garagentor

Dependencies:   LCD_i2c_GSOE

Files at this revision

API Documentation at this revision

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();
     
 }