Distortion Pedal (Symmetric and Assymetric)

8 años 7 meses antes #351 por Stormmaker
Hi,everyone!

Recently I find a function called constrain() in the Arduino official website.
www.arduino.cc/en/Reference/Constrain

Maybe we could use it like this:
in_ADC0 = constrain(in_ADC0, lower_threshold, upper_threshold);

The code maybe more concise in this way. :lol:
El siguiente usuario dijo gracias: Ray

Por favor, Identificarse para unirse a la conversación.

6 años 1 mes antes #1298 por tram8001

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Por favor, Identificarse para unirse a la conversación.

6 años 1 mes antes - 6 años 1 mes antes #1301 por Ray

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Por favor, Identificarse para unirse a la conversación.

Tiempo de carga de la página: 0.065 segundos