Skip to main content
AkRobotNerd
English (en)
Deutsch (de)
English (en)
Français (fr)
You are not logged in. (
Log in
)
Alaskan Robot Nerd
Home
Site pages
Arduino Troubleshooter
Arduino Troubleshooter
View list
View single
Search
«
Previous
1
2
(current)
3
4
5
6
7
8
9
10
»
Next
Error Code:
2
Type of Problem/Error:
Compile Time
Problem or Error Message:
...was not declared in this scope
Possible Solutions:
You probably mispelled or miscapitalized a command or variable name. Common examples include:
'pinmode' →
pinMode
(the M must be capitalized)
'digitalwrite' →
digitalWrite
(the W must be capitalized)
If you declare a variable as
redLED
, then you must always refer to it the exact same way.
redled
or
redLed
will result in this error.
Every letter in the Arduino constants used to set pins
HIGH
and
LOW
must be capitalized.
Tags:
«
Previous
1
2
(current)
3
4
5
6
7
8
9
10
»
Next
Jump to...
Jump to...
Soldering Supplies
Soldering Supplies ►