Remove analogread
This commit is contained in:
parent
47f9c744fd
commit
d1963428a5
2 changed files with 0 additions and 12 deletions
|
|
@ -1,12 +0,0 @@
|
|||
void setup() {
|
||||
Serial.begin(115200);
|
||||
}
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
uint32_t vol;
|
||||
vol = ((analogRead(17) * 30 ) / 8191);
|
||||
Serial.printf("17 : %d\n", vol);
|
||||
vol = ((analogRead(1) * 30 ) / 8191);
|
||||
Serial.printf("1 : %d\n", vol);
|
||||
delay(1000);
|
||||
}
|
||||
Loading…
Reference in a new issue