Dezibot 4
Dezibot.cpp
Go to the documentation of this file.
1 
2 #define SDA_PIN 1
3 #define SCL_PIN 2
4 
5 #include "Dezibot.h"
6 #include <Wire.h>
7 
8 
9 Dezibot::Dezibot():multiColorLight(){};
10 
11 void Dezibot::begin(void) {
12  Wire.begin(SDA_PIN,SCL_PIN);
15  motion.begin();
19  display.begin();
20 };
Dezibot.h
LightDetection::begin
static void begin(void)
initialize the Lightdetection Compnent, must be called before the other methods are used.
Definition: LightDetection.cpp:4
Dezibot::multiColorLight
MultiColorLight multiColorLight
Definition: Dezibot.h:32
SCL_PIN
#define SCL_PIN
Definition: Dezibot.cpp:3
ColorDetection::beginAutoMode
void beginAutoMode()
Start RBGW sensor with default configuration.
Definition: ColorDetection.cpp:3
Dezibot::motion
Motion motion
Definition: Dezibot.h:29
Dezibot::begin
void begin(void)
Definition: Dezibot.cpp:11
SDA_PIN
#define SDA_PIN
Definition: Dezibot.cpp:2
Dezibot::display
Display display
Definition: Dezibot.h:35
Dezibot::Dezibot
Dezibot()
Definition: Dezibot.cpp:9
Display::begin
void begin(void)
initializes the display datastructures and sents the required cmds to start the display....
Definition: Display.cpp:16
Dezibot::infraredLight
InfraredLight infraredLight
Definition: Dezibot.h:33
MultiColorLight::begin
void begin(void)
initialize the multicolor component
Definition: MultiColorLight.cpp:7
Dezibot::colorDetection
ColorDetection colorDetection
Definition: Dezibot.h:31
Dezibot::lightDetection
LightDetection lightDetection
Definition: Dezibot.h:30
Motion::begin
void begin(void)
Initialize the movement component.
Definition: Motion.cpp:18
InfraredLight::begin
void begin(void)
Definition: InfraredLight.cpp:3