Initial import of support files for all Digistump boards - Digispark, Pro, DigiX - including libraries, examples, tools, and other support files for the Arduino IDE

This commit is contained in:
Erik Tylek Kettenburg
2014-12-19 08:45:50 -08:00
parent 97abdbf157
commit 7e7473a2d6
3567 changed files with 722870 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
int RedPin = 5;
int GreenPin = 6;
int BluePin = 7;
void setup() {
// put your setup code here, to run once:
pinMode(RedPin, OUTPUT);
pinMode(GreenPin, OUTPUT);
pinMode(BluePin, OUTPUT);
}
void loop() {
randomSeed(analogRead(0));
// put your main code here, to run repeatedly:
analogWrite(RedPin,random(255));
analogWrite(GreenPin,random(255));
analogWrite(BluePin,random(255));
delay(500);
}