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

Fix redLed() #41

Merged
merged 2 commits into from
May 28, 2019
Merged

Fix redLed() #41

merged 2 commits into from
May 28, 2019

Conversation

caternuson
Copy link
Contributor

Possible fix for #40

Tested with a CPC and a CPX. Following blinks red LED on D13 10 times then plays a tone for a second, and repeats.

#include <Adafruit_CircuitPlayground.h>

void setup() {
  CircuitPlayground.begin();
}

void loop() {
  for (int i=0; i<10; i++) {
    CircuitPlayground.redLED(HIGH);
    delay(200);
    CircuitPlayground.redLED(LOW);
    delay(200);
  }
  CircuitPlayground.playTone(500, 1000);  
}

@ladyada ladyada merged commit 50d49cf into adafruit:master May 28, 2019
@caternuson caternuson deleted the iss40 branch May 29, 2019 01:00
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.

None yet

2 participants