|
@@ -561,7 +561,7 @@
|
|
|
* FAST_PWM_FAN_FREQUENCY
|
|
|
* Set this to your desired frequency.
|
|
|
* For AVR, if left undefined this defaults to F = F_CPU/(2*255*1)
|
|
|
- * i.e., F = 31.4KHz on 16MHz microcontrollers or F = 39.2KHz on 20MHz microcontrollers.
|
|
|
+ * i.e., F = 31.4kHz on 16MHz microcontrollers or F = 39.2kHz on 20MHz microcontrollers.
|
|
|
* For non AVR, if left undefined this defaults to F = 1Khz.
|
|
|
* This F value is only to protect the hardware from an absence of configuration
|
|
|
* and not to complete it when users are not aware that the frequency must be specifically set to support the target board.
|
|
@@ -571,8 +571,8 @@
|
|
|
*
|
|
|
* USE_OCR2A_AS_TOP [undefined by default]
|
|
|
* Boards that use TIMER2 for PWM have limitations resulting in only a few possible frequencies on TIMER2:
|
|
|
- * 16MHz MCUs: [62.5KHz, 31.4KHz (default), 7.8KHz, 3.92KHz, 1.95KHz, 977Hz, 488Hz, 244Hz, 60Hz, 122Hz, 30Hz]
|
|
|
- * 20MHz MCUs: [78.1KHz, 39.2KHz (default), 9.77KHz, 4.9KHz, 2.44KHz, 1.22KHz, 610Hz, 305Hz, 153Hz, 76Hz, 38Hz]
|
|
|
+ * 16MHz MCUs: [62.5kHz, 31.4kHz (default), 7.8kHz, 3.92kHz, 1.95kHz, 977Hz, 488Hz, 244Hz, 60Hz, 122Hz, 30Hz]
|
|
|
+ * 20MHz MCUs: [78.1kHz, 39.2kHz (default), 9.77kHz, 4.9kHz, 2.44kHz, 1.22kHz, 610Hz, 305Hz, 153Hz, 76Hz, 38Hz]
|
|
|
* A greater range can be achieved by enabling USE_OCR2A_AS_TOP. But note that this option blocks the use of
|
|
|
* PWM on pin OC2A. Only use this option if you don't need PWM on 0C2A. (Check your schematic.)
|
|
|
* USE_OCR2A_AS_TOP sacrifices duty cycle control resolution to achieve this broader range of frequencies.
|
|
@@ -1179,7 +1179,7 @@
|
|
|
|
|
|
/**
|
|
|
* Adaptive Step Smoothing increases the resolution of multi-axis moves, particularly at step frequencies
|
|
|
- * below 1KHz (for AVR) or 10KHz (for ARM), where aliasing between axes in multi-axis moves causes audible
|
|
|
+ * below 1kHz (for AVR) or 10kHz (for ARM), where aliasing between axes in multi-axis moves causes audible
|
|
|
* vibration and surface artifacts. The algorithm adapts to provide the best possible step smoothing at the
|
|
|
* lowest stepping frequencies.
|
|
|
*/
|
|
@@ -3419,14 +3419,14 @@
|
|
|
|
|
|
/**
|
|
|
* PHOTO_PULSES_US may need adjustment depending on board and camera model.
|
|
|
- * Pin must be running at 48.4KHz.
|
|
|
+ * Pin must be running at 48.4kHz.
|
|
|
* Be sure to use a PHOTOGRAPH_PIN which can rise and fall quick enough.
|
|
|
* (e.g., MKS SBase temp sensor pin was too slow, so used P1.23 on J8.)
|
|
|
*
|
|
|
* Example pulse data for Nikon: https://bit.ly/2FKD0Aq
|
|
|
* IR Wiring: https://git.io/JvJf7
|
|
|
*/
|
|
|
- //#define PHOTO_PULSES_US { 2000, 27850, 400, 1580, 400, 3580, 400 } // (µs) Durations for each 48.4KHz oscillation
|
|
|
+ //#define PHOTO_PULSES_US { 2000, 27850, 400, 1580, 400, 3580, 400 } // (µs) Durations for each 48.4kHz oscillation
|
|
|
#ifdef PHOTO_PULSES_US
|
|
|
#define PHOTO_PULSE_DELAY_US 13 // (µs) Approximate duration of each HIGH and LOW pulse in the oscillation
|
|
|
#endif
|