New: adding vl53l0x sensor

This commit is contained in:
2026-07-16 03:18:20 +03:00
parent 2831c396b9
commit 3b9fc4c874
10 changed files with 970 additions and 212 deletions

View File

@@ -11,7 +11,7 @@ void servoInit() {
Serial.println("Initializing PCA9685 servo driver...");
// Инициализация I2C на пинах 21 (SDA) и 22 (SCL)
Wire.begin(I2C_SDA_PIN, I2C_SLC_PIN);
Wire.begin(I2C_SDA_PIN, I2C_SCL_PIN);
pwm.begin();
pwm.setOscillatorFrequency(27000000);