Skip to content

Conversation

@facchinm
Copy link
Member

While we prepare a cleaner solution, this patch allows back and forth between pinmuxes.
Tested on UNO Q with next patch in the series and this sketch

void setup() {}
void loop() {
  Serial.begin(115200);
  Serial.println("helloooooo");
  delay(20);
  Serial.end();
  delay(20);
  pinMode(1, OUTPUT);
  digitalWrite(1, HIGH);
  delay(10);
  digitalWrite(1, LOW);
  delay(100);
  analogWrite(1, 33);
}

Pin 1 correctly prints the string, muxes as GPIO and then produces the required PWM

While we prepare a cleaner solution, this patch allows back and forth between pinmuxes.
Tested on UNO Q with next patch in the series and this sketch

void loop() {
  Serial.begin(115200);
  Serial.println("helloooooo");
  delay(20);
  Serial.end();
  delay(20);
  pinMode(1, OUTPUT);
  digitalWrite(1, HIGH);
  delay(10);
  digitalWrite(1, LOW);
  delay(100);
  analogWrite(1, 33);
}

Pin 1 correctly prints the string, muxes as GPIo and then produces the required PWM
@facchinm facchinm force-pushed the pimux_rough_solution branch from bf5766f to 505c6f6 Compare November 17, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant