From da9ef788a222dcaf2e233caf27a9918c3290e5f0 Mon Sep 17 00:00:00 2001 From: Antun Skuric <36178713+askuric@users.noreply.github.com> Date: Sat, 18 Mar 2023 15:22:17 +0100 Subject: [PATCH 1/2] Update index.md --- index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.md b/index.md index 7775bcc..2629663 100644 --- a/index.md +++ b/index.md @@ -41,7 +41,7 @@ Therefore this is an attempt to: - start, end and separator characters - decimal places (settable through commander) - Added machine readable verbose mode in `Commander` [#233](https://github.com/simplefoc/Arduino-FOC/pull/233) - - *Simple**FOC**WebController* - Web based user interface for SimpleFOC by [@geekuillaume](https://github.com/geekuillaume) - [webcontroller.simplefoc.com](webcontroller.simplefoc.com) + - *Simple**FOC**WebController* - Web based user interface for SimpleFOC by [@geekuillaume](https://github.com/geekuillaume) - [webcontroller.simplefoc.com](https://webcontroller.simplefoc.com) - bugfix - `MagneticSensorPWM` multiple occasions - [#258](https://github.com/simplefoc/Arduino-FOC/pull/258) - bugfix - current sense align - added offset exchange when exchanging pins - bugfix - trapezoid 150 fixed @@ -120,4 +120,4 @@ These are just a few of the alternative FOC supporting projects which provide ha ✔️Simple to use | ✔️ Simple to use | ✔️Simple to use | ❌ Simple to use ❌ Low cost ($100) | ❌ Low cost ($100) | ✔️Low cost ($40) | ✔️ Low cost ❌ Low power (>50A) | ✔️ Low power | ✔️ Low power | ✔️ Low power -❌ Stepper support | ❌ Stepper support | ❌ Stepper support | ❌ Stepper support \ No newline at end of file +❌ Stepper support | ❌ Stepper support | ❌ Stepper support | ❌ Stepper support From 8b0b2607d4c8a014fad3f0d4d92765c23a257a08 Mon Sep 17 00:00:00 2001 From: Jordan Cormack <37104498+jordancormack@users.noreply.github.com> Date: Wed, 23 Aug 2023 12:57:03 +0100 Subject: [PATCH 2/2] Update bldc_driver_6pwm.md changed BLDCDriver6PWM name in code examples from 'motor' to 'driver' for consistency with the rest of the docs. --- .../code/drivers/bldc_driver/bldc_driver_6pwm.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/simplefoc_library/code/drivers/bldc_driver/bldc_driver_6pwm.md b/docs/simplefoc_library/code/drivers/bldc_driver/bldc_driver_6pwm.md index 9ba520d..db47625 100644 --- a/docs/simplefoc_library/code/drivers/bldc_driver/bldc_driver_6pwm.md +++ b/docs/simplefoc_library/code/drivers/bldc_driver/bldc_driver_6pwm.md @@ -32,7 +32,7 @@ To create the interface to the BLDC driver you need to specify the 6 `PWM` pin n // - phB_h, phB_l - B phase pwm pin high/low pair // - phB_h, phC_l - C phase pwm pin high/low pair // - enable pin - (optional input) -BLDCDriver6PWM motor = BLDCDriver6PWM(5,6, 9,10, 3,11, 8); +BLDCDriver6PWM driver = BLDCDriver6PWM(5,6, 9,10, 3,11, 8); ```
⚠️ 6 PWM configuration is very hardware specific and please make sure to respect certain guidelines in order for it to work properly! @@ -65,7 +65,7 @@ In hardware 6 PWM mode the user uses only one timer, usually Timer 1 for all the Where `T1Cx` are the Timer 1 channels and `T1CxN` are their complementary channels (inverted channels). Each pair of `T1Cx` and `T1CxN` is used for one pair of the high/low PWM pins. The library will configure the necessary timers and registers if you provide these pins to the constrictor of the `BLDCDriver6PWM` class. For example: ```cpp // BLDCDriver6PWM( int phA_h, int phA_l, int phB_h, int phB_l, int phC_h, int phC_l, int en) -BLDCDriver6PWM motor = BLDCDriver6PWM(PA8, PB13, PA9, PB14, PA10, PB15); +BLDCDriver6PWM driver = BLDCDriver6PWM(PA8, PB13, PA9, PB14, PA10, PB15); ``` #### Software 6 PWM mode @@ -73,7 +73,7 @@ If it is not possible to use the hardware 6 PWM mode with your board