Hello,
I am working on my hexapod project, and want to send information about leg positions, error messages, etc. to my serial monitor.
I am not able to write to the serial monitor whenever the "pwm.begin()" is activated.
The PWM board uses I2C for recieving data, and I think that blocks the serial "prints".
Is there a way to work around this?
The code:
#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
#include <Servo.h>
Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver(0x40);
void setup() {
pwm.begin();
Serial.begin(9600);
delay(2000);
Serial.println("I am not working :(");
}
void loop() {
}