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.
Dependencies: mbed
Diff: Beleuchtungssteuerung.cpp
- Revision:
- 9:b1bf6699d610
- Parent:
- 8:fb6cb712eb52
- Child:
- 12:bad33209d1bb
--- a/Beleuchtungssteuerung.cpp Tue May 26 12:14:44 2015 +0000
+++ b/Beleuchtungssteuerung.cpp Tue May 26 13:40:12 2015 +0000
@@ -3,6 +3,7 @@
PwmOut pwm_Licht(PWM_PORT);// Edit Pin-Port for the frontlight mosfet
DigitalOut bremsen(PA_6); // Edit Pin-Port for the backlight
Timer timer;
+
Bremse_blinken(){
int bremse;
bremse = break_value(); // reads break value
@@ -15,6 +16,7 @@
}
}
}
+
Vorderlicht_steuerung(){
pwm_Licht.period_us(10000);