Files
school_archives/OSU SARL/Control Board Firmware/Science Rocker Plate/RockerCode.ino
Corwin Perren b300c76103 Added old firmware and pcb design files
These are all design documents that I thought I had lost. It's may make
me cringe, but it's still cool to use it to see how far I've come.
2016-05-12 20:04:43 -07:00

16 lines
172 B
C++

int mot = 0;
int pot = A1;
void setup() {
pinMode(mot, OUTPUT);
pinMode(pot, INPUT);
}
void loop() {
analogWrite(mot, analogRead(pot)/4);
}