variable

  1. Ahmad Altonji

    Example 4 Variable Resistor sensor

    //Example_4_Variable_Resistor_sensor www.altonji.net const int sensorPin = A0; const int ledPin = 13; int sensorValue; void setup( ) { pinMode(ledPin, OUTPUT); } void loop ( ) { sensorValue = analogRead(sensorPin); digitalWrite(ledPin, HIGH)...
أعلى