Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v9.13 #72

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

EgorRodrigues
Copy link

No description provided.

@@ -46,7 +46,7 @@ char codeVersion[] = "9.12.0"; // Software revision.
#include <Arduino.h>

// All the required user settings are done in the following .h files:
#include "0_generalSettings.h" // <<------- general settings
#include "0_GeneralSettings.h" // <<------- general settings
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the file is actually with lower case.
this might break on non-Windows.

@@ -74,8 +75,15 @@
- Connect a 100 - 470uF electrolytic cap and a 100nF tantalum or ceramic cap across pins 2 - 3
*/
//#define RZ7886_DRIVER_MODE // An RZ7886 motor driver is used instead of a standard RC Crawler Type ESC. suitable for motors up to 370 size, for example WPL vehicles.
const uint16_t RZ7886_FREQUENCY = 500; // 500 Hz is recommended. It is not audible, if virtual engine sound is running. Higher frequencies may overheat the driver IC!
const uint8_t RZ7886_DRAGBRAKE_DUTY = 100; // 0 - 100%. 100% = max. brake power while standing still. 100% is recommended for crawlers.
uint16_t RZ7886_FREQUENCY = 500; // 500 Hz is recommended. It is not audible, if virtual engine sound is running. Higher frequencies may overheat the driver IC!
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable is not configurable, right?
That's why the "const" is gone,
but can you also change the capitalization (lower case) if it's not longer a constant.

Actually, maybe you could do a:
#define RZ7886_FREQUENCY_INIT 500
and define the frequency variable in the .ino file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants