2014-git-work/Arduino/Default/Default.ino
2012-08-28 22:39:10 +09:00

12 lines
158 B
C++

// (C)2012 kou029w - MIT License
int analogRead(uint8_t pin, uint8_t max){
return ((long)analogRead(pin)*max)>>10;
}
void setup(){
}
void loop(){
}