mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-06 01:08:25 +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 sensorPin = 2; // pin that the sensor is attached to
|
||||||
const int ledPin = 9; // pin that the LED 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:
|
// variables:
|
||||||
int sensorValue = 0; // the sensor value
|
int sensorValue = 0; // the sensor value
|
||||||
|
int sensorMin = 1023; // minimum sensor value
|
||||||
|
int sensorMax = 0; // maximum sensor value
|
||||||
|
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user