Skip to content

Commit

Permalink
Added the #s back
Browse files Browse the repository at this point in the history
  • Loading branch information
brihijoshi authored Jul 4, 2017
1 parent acd7baa commit fb08e5e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,20 @@ servo.on('ready', function () {
```

### Methods
* &#x20;<a href="#api-servo-configure-whichServo-minPWM-maxPWM-callback-Sets-the-PWM-max-and-min-for-the-specified-servo" name="api-servo-configure-whichServo-minPWM-maxPWM-callback-Sets-the-PWM-max-and-min-for-the-specified-servo"></a> servo<b>.configure</b>( whichServo, minPWM, maxPWM, callback(err) ) Sets the PWM max and min for the specified servo.
&#x20;<a href="#api-servo-configure-whichServo-minPWM-maxPWM-callback-Sets-the-PWM-max-and-min-for-the-specified-servo" name="api-servo-configure-whichServo-minPWM-maxPWM-callback-Sets-the-PWM-max-and-min-for-the-specified-servo">#</a> servo<b>.configure</b>( whichServo, minPWM, maxPWM, callback(err) ) Sets the PWM max and min for the specified servo.

* &#x20;<a href="#api-servo-move-whichServo-positionOrSpeed-callback-positionOrSpeed-is-a-value-between-0-and-1-On-a-normal-servo-this-value-is-the-position-to-move-to-as-a-percent-of-the-total-available-rotational-range-On-a-continuous-rotation-servo-this-value-represents-the-rotation-speed-0-is-fast-in-one-direction-1-is-fast-in-the-other-direction-and-0-5-is-stopped" name="api-servo-move-whichServo-positionOrSpeed-callback-positionOrSpeed-is-a-value-between-0-and-1-On-a-normal-servo-this-value-is-the-position-to-move-to-as-a-percent-of-the-total-available-rotational-range-On-a-continuous-rotation-servo-this-value-represents-the-rotation-speed-0-is-fast-in-one-direction-1-is-fast-in-the-other-direction-and-0-5-is-stopped"></a> servo<b>.move</b>( whichServo, positionOrSpeed, callback(err) ) positionOrSpeed is a value between 0 and 1. On a normal servo, this value is the position to move to as a percent of the total available rotational range. On a continuous rotation servo, this value represents the rotation speed: 0 is fast in one direction, 1 is fast in the other direction, and 0.5 is stopped.
&#x20;<a href="#api-servo-move-whichServo-positionOrSpeed-callback-positionOrSpeed-is-a-value-between-0-and-1-On-a-normal-servo-this-value-is-the-position-to-move-to-as-a-percent-of-the-total-available-rotational-range-On-a-continuous-rotation-servo-this-value-represents-the-rotation-speed-0-is-fast-in-one-direction-1-is-fast-in-the-other-direction-and-0-5-is-stopped" name="api-servo-move-whichServo-positionOrSpeed-callback-positionOrSpeed-is-a-value-between-0-and-1-On-a-normal-servo-this-value-is-the-position-to-move-to-as-a-percent-of-the-total-available-rotational-range-On-a-continuous-rotation-servo-this-value-represents-the-rotation-speed-0-is-fast-in-one-direction-1-is-fast-in-the-other-direction-and-0-5-is-stopped">#</a> servo<b>.move</b>( whichServo, positionOrSpeed, callback(err) ) positionOrSpeed is a value between 0 and 1. On a normal servo, this value is the position to move to as a percent of the total available rotational range. On a continuous rotation servo, this value represents the rotation speed: 0 is fast in one direction, 1 is fast in the other direction, and 0.5 is stopped.

* &#x20;<a href="#api-servo-read-whichServo-callback-Reads-the-current-approximate-position-target-for-the-specified-servo" name="api-servo-read-whichServo-callback-Reads-the-current-approximate-position-target-for-the-specified-servo"></a> servo<b>.read</b>( whichServo, callback(err, reading) ) Reads the current approximate position target for the specified servo.
&#x20;<a href="#api-servo-read-whichServo-callback-Reads-the-current-approximate-position-target-for-the-specified-servo" name="api-servo-read-whichServo-callback-Reads-the-current-approximate-position-target-for-the-specified-servo">#</a> servo<b>.read</b>( whichServo, callback(err, reading) ) Reads the current approximate position target for the specified servo.

* &#x20;<a href="#api-servo-setDutyCycle-whichServo-on-callback-Sets-the-duty-cycle-for-the-specified-servo-on-is-duty-cycle-uptime-range-from-0-1" name="api-servo-setDutyCycle-whichServo-on-callback-Sets-the-duty-cycle-for-the-specified-servo-on-is-duty-cycle-uptime-range-from-0-1"></a> servo<b>.setDutyCycle</b>( whichServo, on, callback(err) ) Sets the duty cycle for the specified servo. on is duty cycle uptime, range from 0-1.
&#x20;<a href="#api-servo-setDutyCycle-whichServo-on-callback-Sets-the-duty-cycle-for-the-specified-servo-on-is-duty-cycle-uptime-range-from-0-1" name="api-servo-setDutyCycle-whichServo-on-callback-Sets-the-duty-cycle-for-the-specified-servo-on-is-duty-cycle-uptime-range-from-0-1">#</a> servo<b>.setDutyCycle</b>( whichServo, on, callback(err) ) Sets the duty cycle for the specified servo. on is duty cycle uptime, range from 0-1.

* &#x20;<a href="#api-servo-setModuleFrequency-Hertz-callback-Sets-the-PWM-frequency-in-Hz-for-the-PCA9685-chip" name="api-servo-setModuleFrequency-Hertz-callback-Sets-the-PWM-frequency-in-Hz-for-the-PCA9685-chip"></a> servo<b>.setModuleFrequency</b>( Hertz, callback(err) ) Sets the PWM frequency in Hz for the PCA9685 chip.
&#x20;<a href="#api-servo-setModuleFrequency-Hertz-callback-Sets-the-PWM-frequency-in-Hz-for-the-PCA9685-chip" name="api-servo-setModuleFrequency-Hertz-callback-Sets-the-PWM-frequency-in-Hz-for-the-PCA9685-chip">#</a> servo<b>.setModuleFrequency</b>( Hertz, callback(err) ) Sets the PWM frequency in Hz for the PCA9685 chip.

* ### Events
&#x20;<a href="#api-servo-on-error-callback-err-Emitted-upon-error" name="api-servo-on-error-callback-err-Emitted-upon-error"></a> servo<b>.on</b>( 'error', callback(err) ) Emitted upon error.
### Events
&#x20;<a href="#api-servo-on-error-callback-err-Emitted-upon-error" name="api-servo-on-error-callback-err-Emitted-upon-error">#</a> servo<b>.on</b>( 'error', callback(err) ) Emitted upon error.

* &#x20;<a href="#api-servo-on-ready-callback-Emitted-upon-first-successful-communication-between-the-Tessel-and-the-module" name="api-servo-on-ready-callback-Emitted-upon-first-successful-communication-between-the-Tessel-and-the-module"></a> servo<b>.on</b>( 'ready', callback() ) Emitted upon first successful communication between the Tessel and the module.
&#x20;<a href="#api-servo-on-ready-callback-Emitted-upon-first-successful-communication-between-the-Tessel-and-the-module" name="api-servo-on-ready-callback-Emitted-upon-first-successful-communication-between-the-Tessel-and-the-module">#</a> servo<b>.on</b>( 'ready', callback() ) Emitted upon first successful communication between the Tessel and the module.

### Hardware/Advanced usage
* The servos used in conjunction with this module should be powered through the 5.5 mm barrel jack.
Expand Down

0 comments on commit fb08e5e

Please sign in to comment.