fixed indentation after linebreak, made some refactoring

This commit is contained in:
hhaupt
2024-06-05 13:13:26 +02:00
parent 4ffed430e2
commit e30395e8a6
4 changed files with 88 additions and 71 deletions

View File

@@ -10,15 +10,20 @@
*/
#define SDA_PIN 1
#define SCL_PIN 2
#include "Dezibot.h"
#include <Wire.h>
Dezibot::Dezibot():multiColorLight(){};
void Dezibot::begin(void) {
//infraredLight.begin();
//lightDetection.begin();
//motion.begin();
//multiColorLight.begin();
Wire.begin(SDA_PIN,SCL_PIN);
infraredLight.begin();
lightDetection.begin();
motion.begin();
multiColorLight.begin();
display.begin();
};