Closed caternuson closed 5 years ago
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); }
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.