Added 2017-2018 mars rover repository.

This commit is contained in:
2018-08-22 14:54:52 -07:00
parent a56690ca18
commit 7fd2641766
750 changed files with 2019222 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
float freq = 1.5;
int pin = 13;
// convert freq to mills
float mills = (1/freq)*1000;
void setup(){
pinMode(pin, OUTPUT);
}
void loop(){
digitalWrite(pin,LOW);
delay(mills / 2.0);
digitalWrite(pin, HIGH);
delay(mills / 2.0);
}