Encodeur rotatif

Bonjour azothys

Oui :wink:

Tu changes :

#define ROTARYSTEPS 0.1
en
float ROTARYSTEPS = 0.1;

et dans loop() tu ajoutes:

	if (newPos <= 10)
	{
		ROTARYSTEPS = 0.1;
	} 
	else if (newPos <= 20)
	{
		ROTARYSTEPS = 0.5;
	}
	else
	{
		ROTARYSTEPS = 1.0;
	}

Cordialement
jpbbricole