mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
Fixed const int error
This commit is contained in:
parent
8d58a02e6d
commit
6fef0130f4
@ -28,12 +28,10 @@
|
||||
const int sensorPin = 2; // pin that the sensor is attached to
|
||||
const int ledPin = 9; // pin that the LED is attached to
|
||||
|
||||
const int sensorMin = 1023; // minimum sensor value
|
||||
const int sensorMax = 0; // maximum sensor value
|
||||
|
||||
// variables:
|
||||
int sensorValue = 0; // the sensor value
|
||||
|
||||
int sensorMin = 1023; // minimum sensor value
|
||||
int sensorMax = 0; // maximum sensor value
|
||||
|
||||
|
||||
void setup() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user