Skip to content

Commit

Permalink
include servo datasheet
Browse files Browse the repository at this point in the history
  • Loading branch information
owenpark8 committed Sep 23, 2024
1 parent 9b83ed4 commit 053b71a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/getting-started/starter/servo/part1-pwm.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ correctly set up this PWM timer. These values are located in the "Parameter Sett
calculated. Refer to the timer [reference guide](../../../info/timers.md) for information on
calculating these values.

Read the [datasheet](http://www.ee.ic.ac.uk/pcheung/teaching/DE1_EE/stores/sg90_datasheet.pdf) for
the servo and determine what PSC and ARR should be given that the clock frequency of the Nucleo is 72MHz.

Once you have determined and edited the timer config, save the file and generate code. Note: you can
always come back to the .ioc to make changes.

### 3. Opening the header file

Having a servo object will make it easier to adjust the number servos or where the servos are
Expand Down

0 comments on commit 053b71a

Please sign in to comment.