HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca3814f
)
Set the ADC clock div to 8 so we actually get 1000 samples/sec on the ADC instead...
author
Jim Morris
<morris@wolfman.com>
Fri, 24 Jul 2015 21:50:18 +0000
(14:50 -0700)
committer
Jim Morris
<morris@wolfman.com>
Fri, 24 Jul 2015 21:50:18 +0000
(14:50 -0700)
src/libs/Adc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/libs/Adc.cpp
b/src/libs/Adc.cpp
index
568449e
..
e7ee7a5
100644
(file)
--- a/
src/libs/Adc.cpp
+++ b/
src/libs/Adc.cpp
@@
-19,7
+19,7
@@
using namespace std;
// TODO : Having the same name is confusing, should change that
Adc::Adc(){
- this->adc = new ADC(1000,
1
);
+ this->adc = new ADC(1000,
8
);
}
// Enables ADC on a given pin