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: Farbsensor IRSensorLib PID_Control Servo mbed PixyLib
Diff: Farbauswertung.h
- Revision:
- 16:ad45ef4fee04
- Parent:
- 15:26dbcd6ff48d
--- a/Farbauswertung.h Wed May 24 13:54:02 2017 +0000 +++ b/Farbauswertung.h Fri May 26 09:11:49 2017 +0000 @@ -5,12 +5,13 @@ #include <cstdlib> #include "Farbsensor.h" #include "Servo.h" +#include "liftAnsteuerung.h" class Farbauswertung { public: //Konstruktoren und Destruktoren - Farbauswertung(AnalogIn* SensorG, AnalogIn* SensorR, Servo& servoAusw, Servo& servoFoerder, int verzEin, int verzAus); + Farbauswertung(AnalogIn* SensorG, AnalogIn* SensorR, Servo& servoAusw, Servo& servoFoerder, LiftAnsteuerung& lift, int verzEin, int verzAus); Farbauswertung(); virtual ~Farbauswertung(); @@ -40,6 +41,7 @@ uint8_t zustand; enum zustand {gruen=0, rot}; Farbsensor farbsensor; + LiftAnsteuerung& lift; Serial *pc; };