Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

analogRead() freezing on several Trinkey boards #343

Open
caternuson opened this issue May 18, 2023 · 0 comments
Open

analogRead() freezing on several Trinkey boards #343

caternuson opened this issue May 18, 2023 · 0 comments

Comments

@caternuson
Copy link

Test sketch:

int count = 0;

void setup() {
  Serial.begin(9600);
  while (!Serial);
}

void loop() {
  Serial.println(count++);
  if (count > 5) {
    Serial.println(analogRead(A1));  
  }
  delay(1000);
}

Mixed results on several Trinkey products:

  • PID 4870 - Adafruit NeoPixel Trinkey M0 (SAMD21) freezes
  • PID 4964 - Adafruit Rotary Trinkey M0 (SAMD21) freezes
  • PID 5020 - Adafruit NeoKey Trinkey M0 (SAMD21) freezes
  • PID 5021 - Adafruit Slide Trinkey M0 (SAMD21) works
  • PID 5022 - Adafruit ProxLight Trinkey M0 (SAMD21) works

Example output for sketch that works (PID 5022):
Screenshot from 2023-05-18 15-07-51

Example output for sketch that freezes (PID 4870):
Screenshot from 2023-05-18 15-12-21
NOTE - closing Serial Monitor requires resetting the board

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

No branches or pull requests

1 participant