Map Arduino Tutorial Code Example


Example: map arduino

Syntax map(value, fromLow, fromHigh, toLow, toHigh)  Parameters value: the number to map. fromLow: the lower bound of the value’s current range. fromHigh: the upper bound of the value’s current range. toLow: the lower bound of the value’s target range. toHigh: the upper bound of the value’s target range.    Example: map(val, 0, 255, 0, 1023);

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy