4 lines
86 B
Arduino
4 lines
86 B
Arduino
|
int analogRead(uint8_t pin, uint8_t max){
|
||
|
return ((long)analogRead(pin)*max)>>10;
|
||
|
}
|