Skip to content

Commit

Permalink
Update the PWM register configuration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Choaib-ELMADI committed May 27, 2024
1 parent cf50c4b commit 0afbb39
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Docs/10. PWM/10.2 pwm-configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@
--> `Machine Cycle` = 4 / 20MHz = 200ns
--> `PWM Period` = 1 / `PWM Frequency`

=> Set the 10bit duty cycle value in CCP1CON and CCPR1L.
=> Set the 10bit duty cycle value in CCP1CON and CCPR1L.
--> The CCPR1L contains the 8 most significant bits.
--> The CCP1CON contains the 2 least significant bits.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0afbb39

Please sign in to comment.