fiy output analog read
This commit is contained in:
parent
151f234ff2
commit
750f778d19
1 changed files with 3 additions and 2 deletions
|
@ -128,8 +128,9 @@ void analogR(int pin) {
|
|||
if(pin == -1) { Serial.println("badpin"); return; }
|
||||
pinMode(pin, INPUT);
|
||||
int rval = analogRead(pin);
|
||||
Serial.println(String(pin + "::" + rval));
|
||||
|
||||
Serial.print(pin);
|
||||
Serial.print("::");
|
||||
Serial.println(rval);
|
||||
}
|
||||
|
||||
void handleRCDecimal(uint8_t val[], int pin) {
|
||||
|
|
Reference in a new issue