2014-git-work/arduino/Default/Default.ino

13 lines
158 B
Arduino
Raw Normal View History

2012-08-28 22:52:01 +09:00
// (C)2012 kou029w - MIT License
int analogRead(uint8_t pin, uint8_t max){
return ((long)analogRead(pin)*max)>>10;
}
void setup(){
}
void loop(){
}