diff --git a/edrumulus.cpp b/edrumulus.cpp index ea62534..b8d3478 100644 --- a/edrumulus.cpp +++ b/edrumulus.cpp @@ -367,7 +367,7 @@ Serial.println ( serial_print ); for ( int j = 0; j < number_inputs[i]; j++ ) { const float& cur_dc_offset = dc_offset[i][j]; -//Serial.println ( cur_dc_offset ); // TEST for plotting all DC offsets +//Serial.println ( String ( i ) + ", " + String ( cur_dc_offset ) ); // TEST for plotting all DC offsets if ( ( cur_dc_offset < dc_offset_min_limit ) || ( cur_dc_offset > dc_offset_max_limit ) ) { status_is_error = true; diff --git a/edrumulus.ino b/edrumulus.ino index d398e19..dbb84e8 100644 --- a/edrumulus.ino +++ b/edrumulus.ino @@ -23,7 +23,10 @@ // analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3 static int analog_pins4[] = { 36, 33, 32, 25, 34, 39, 27, 12, 15 }; static int analog_pins_rimshot4[] = { 35, -1, 26, -1, 14, -1, 13, -1, -1 }; -const int number_pads4 = sizeof ( analog_pins4 ) / sizeof ( int ); + +// if you want to use less number of pads, simply adjust number_pads4 value +//const int number_pads4 = sizeof ( analog_pins4 ) / sizeof ( int ); // use all inputs defined in analog_pins4 +const int number_pads4 = 8; // e.g., do not use tom3 and shrink number of pads from 9 to 8 in this example #include "edrumulus.h"