#define PWMA    22
#define ADCAO2  26
#define ADCAO1  27

void setup() {
  // put your setup code here, to run once:
  Serial1.begin(115200);
  pinMode(PWMA, OUTPUT);
  pinMode(ADCAO1, INPUT);
  pinMode(ADCAO2, INPUT);
  Serial1.println("Configuración exitosa");
}

void loop() {
  // put your main code here, to run repeatedly:
  analogWrite(PWMA, 100);
  Serial1.print("AO1: ");
  Serial1.print(analogRead(ADCAO1));
  Serial1.print("    AO2: ");
  Serial1.print(analogRead(ADCAO2));
  Serial1.print("\n");
  delay(500);
}
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
tb6612fngBreakout