mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 21:51:15 +00:00
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.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
int mot = 0;
|
||||
int pot = A1;
|
||||
|
||||
|
||||
void setup() {
|
||||
pinMode(mot, OUTPUT);
|
||||
pinMode(pot, INPUT);
|
||||
}
|
||||
|
||||
|
||||
void loop() {
|
||||
analogWrite(mot, analogRead(pot)/4);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user