loading
1 Comments

Tell us about yourself!

Complete Your Profile
  • MrHazee commented on martzsam's instructable Easy and Simple Arduino Robot Arm4 months ago
    Easy and Simple Arduino Robot Arm

    yeah, its "mapping" the value of the variable "val" and stores the new value in variable "val". I.e, the analog range that the arduino reads is between 0-1023 and you wanna control the servo with this value, but the servo operates on values between 0-179. So map-function is scaling the value (in this example) from range 0-1023 to 0-179

    View Instructable »