8000 Full consolidation of "phase locking" and "PWM locking" waveform generators by dok-net · Pull Request #8011 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Full consolidation of "phase locking" and "PWM locking" waveform generators #8011

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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove enablePhaseLockedWaveform().
  • Loading branch information
dok-net committed Dec 23, 2022
commit e662f2dce3ff12efd5b8322776e3ffa937461826
4 changes: 0 additions & 4 deletions cores/esp8266/core_esp8266_features.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ inline int esp_get_cpu_freq_mhz()
#endif


// Call this function in your setup() to cause the phase locked version of the generator to
// be linked in automatically. Otherwise, the default PWM locked version will be used.
void enablePhaseLockedWaveform(void);

// Determine when the sketch runs on ESP8285
#if !defined(CORE_MOCK)
Expand All @@ -136,7 +133,6 @@ inline bool esp_is_8285()
return false;
}
#endif

#ifdef __cplusplus
}
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ void setup() {
Serial.begin(115200);
Serial.println();

// This next line will cause the code to use the Phase-Locked waveform generator
// instead of the default PWM-Locked one. Comment it out to try the default version.
// For more information on choosing between the two options, see the following pull requests:
// Phase-Locked generator: https://github.com/esp8266/Arduino/pull/7022
// PWM-Locked generator: https://github.com/esp8266/Arduino/pull/7231
enablePhaseLockedWaveform();

pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
analogWriteRange(1000);

Expand Down
0