From 0afbb392c739e021a9ecc2a6bdebee3d018ddc27 Mon Sep 17 00:00:00 2001 From: Choaib ELMADI Date: Mon, 27 May 2024 19:15:51 +0100 Subject: [PATCH] Update the PWM register configuration docs --- Docs/10. PWM/10.2 pwm-configuration.txt | 4 +++- MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/Makefile | 0 MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/main.c | 0 .../nbproject/Makefile-default.mk | 0 .../nbproject/Makefile-genesis.properties | 0 .../{PWM.X => FadingLEDwithPWM.X}/nbproject/Makefile-impl.mk | 0 .../nbproject/Makefile-local-default.mk | 0 .../nbproject/Makefile-variables.mk | 0 .../nbproject/configurations.xml | 0 .../nbproject/private/configurations.xml | 0 .../{PWM.X => FadingLEDwithPWM.X}/nbproject/project.xml | 0 11 files changed, 3 insertions(+), 1 deletion(-) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/Makefile (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/main.c (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/Makefile-default.mk (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/Makefile-genesis.properties (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/Makefile-impl.mk (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/Makefile-local-default.mk (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/Makefile-variables.mk (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/configurations.xml (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/private/configurations.xml (100%) rename MPLABX Projects/{PWM.X => FadingLEDwithPWM.X}/nbproject/project.xml (100%) diff --git a/Docs/10. PWM/10.2 pwm-configuration.txt b/Docs/10. PWM/10.2 pwm-configuration.txt index e9a5ee5..c0d9772 100644 --- a/Docs/10. PWM/10.2 pwm-configuration.txt +++ b/Docs/10. PWM/10.2 pwm-configuration.txt @@ -13,4 +13,6 @@ --> `Machine Cycle` = 4 / 20MHz = 200ns --> `PWM Period` = 1 / `PWM Frequency` - => Set the 10bit duty cycle value in CCP1CON and CCPR1L. \ No newline at end of file + => 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. \ No newline at end of file diff --git a/MPLABX Projects/PWM.X/Makefile b/MPLABX Projects/FadingLEDwithPWM.X/Makefile similarity index 100% rename from MPLABX Projects/PWM.X/Makefile rename to MPLABX Projects/FadingLEDwithPWM.X/Makefile diff --git a/MPLABX Projects/PWM.X/main.c b/MPLABX Projects/FadingLEDwithPWM.X/main.c similarity index 100% rename from MPLABX Projects/PWM.X/main.c rename to MPLABX Projects/FadingLEDwithPWM.X/main.c diff --git a/MPLABX Projects/PWM.X/nbproject/Makefile-default.mk b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-default.mk similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/Makefile-default.mk rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-default.mk diff --git a/MPLABX Projects/PWM.X/nbproject/Makefile-genesis.properties b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-genesis.properties similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/Makefile-genesis.properties rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-genesis.properties diff --git a/MPLABX Projects/PWM.X/nbproject/Makefile-impl.mk b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-impl.mk similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/Makefile-impl.mk rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-impl.mk diff --git a/MPLABX Projects/PWM.X/nbproject/Makefile-local-default.mk b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-local-default.mk similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/Makefile-local-default.mk rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-local-default.mk diff --git a/MPLABX Projects/PWM.X/nbproject/Makefile-variables.mk b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-variables.mk similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/Makefile-variables.mk rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/Makefile-variables.mk diff --git a/MPLABX Projects/PWM.X/nbproject/configurations.xml b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/configurations.xml similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/configurations.xml rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/configurations.xml diff --git a/MPLABX Projects/PWM.X/nbproject/private/configurations.xml b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/private/configurations.xml similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/private/configurations.xml rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/private/configurations.xml diff --git a/MPLABX Projects/PWM.X/nbproject/project.xml b/MPLABX Projects/FadingLEDwithPWM.X/nbproject/project.xml similarity index 100% rename from MPLABX Projects/PWM.X/nbproject/project.xml rename to MPLABX Projects/FadingLEDwithPWM.X/nbproject/project.xml