Évidemment, jje me suis trompé de code
Code:#picaxe 08M2 #no_data setfreq M32 symbol potmesure=C.4 symbol mesure=w13 pwmout C.2,255,0 ;activation PWM Fréquence PWM 31300 RC 0% do readadc10 potmesure,mesure select case mesure case < 92 pwmduty C.2, 0 case 92 to 205 pwmduty C.2, 102 case 205 to 776 pwmduty C.2, 205 case 777 to 798 pwmduty C.2, 788 case >798 pwmduty C.2,0 endselect loop
-----