mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Fixed const int error
This commit is contained in:
@ -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() {
|
||||||
|
Reference in New Issue
Block a user