fixed indentation after linebreak, made some refactoring
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user