| 本帖最后由 lzwkiven 于 2011-5-1 12:28 编辑 
 void loop() {
 // read the analog in value:
 sensorValue = analogRead(analogInPin);
 // map it to the range of the analog out:
 outputValue = map(sensorValue, 0, 1023, 0, 255);
 // change the analog out value:
 analogWrite(ana**utPin, outputValue);
 delay(10);
 }
 我的c语言不过关,请问一下map(sensorValue, 0, 1023, 0, 255)是什么意思
 |