mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 02:51:47 +02:00
23 lines
371 B
C++
23 lines
371 B
C++
|
|
#define SDA_PIN 1
|
|
#define SCL_PIN 2
|
|
|
|
#include "Dezibot.h"
|
|
#include <Wire.h>
|
|
|
|
|
|
Dezibot::Dezibot():multiColorLight(){};
|
|
|
|
void Dezibot::begin(void) {
|
|
Wire.begin(SDA_PIN,SCL_PIN);
|
|
infraredLight.begin();
|
|
lightDetection.begin();
|
|
motion.begin();
|
|
lightDetection.begin();
|
|
colorDetection.begin();
|
|
multiColorLight.begin();
|
|
display.begin();
|
|
};
|
|
|
|
|