Skip to content

Commit

Permalink
Testing ADC_LOWPASS_K_VALUE hypothesis MarlinFirmware/Marlin#21661 (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
avolkov committed Oct 5, 2021
1 parent 9959a1a commit 73f57de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marlin-2.0.9.1/skr-14-turbo/Marlin/src/HAL/LPC1768/HAL.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int freeMemory();
// Memory usage per ADC channel (bytes): (6 * ADC_MEDIAN_FILTER_SIZE) + 16
// 8 * ((6 * 23) + 16 ) = 1232 Bytes for 8 channels

#define ADC_LOWPASS_K_VALUE (2) // Higher values increase rise time
#define ADC_LOWPASS_K_VALUE (6) // Higher values increase rise time
// Rise time sample delays for 100% signal convergence on full range step
// (1 : 13, 2 : 32, 3 : 67, 4 : 139, 5 : 281, 6 : 565, 7 : 1135, 8 : 2273)
// K = 6, 565 samples, 500Hz sample rate, 1.13s convergence on full range step
Expand Down

0 comments on commit 73f57de

Please sign in to comment.