BULME_BERTL14
/
func_Bertl
Bertl Robot with fiunctions
Diff: config.h
- Revision:
- 9:8e3392380915
- Parent:
- 7:cb6947e1f1d3
diff -r baa918b0f64c -r 8e3392380915 config.h --- a/config.h Thu Feb 05 12:39:34 2015 +0000 +++ b/config.h Mon Feb 09 09:20:58 2015 +0000 @@ -60,6 +60,11 @@ DigitalIn SensorR(P1_13); // motor sensor right HCSR04 usensor(p21,p22); // HC-SR04 ultrasonic sensor +PwmOut mg1(P1_15); //PWM Ausgang zum Motor Links +PwmOut mg2(P0_21); //PWM Ausgang zum Motor Rechts +const int PERIOD = 20; +const int SPEED = 3; + #if defined(DEBUG) && DEBUG > 0 #define DEBUG_PRINT(fmt, args...) fprintf(stderr, "DEBUG: %s:%d:%s(): " fmt, \ __FILE__, __LINE__, __func__, ##args)