Arduino Forum
Why won't this work?
Using Arduino
Programming Questions
GoForSmoke
January 23, 2013, 8:13pm
3
Try moving the line inside setup() to above setup(). Then val will be global scope.
show post in topic
Related Topics
Topic
Replies
Views
Activity
Serial Monitor Read
Programming Questions
9
802
May 5, 2021
Variable problem
Programming Questions
6
890
May 5, 2021
' ' was not declared in this scope
Programming Questions
11
507
December 9, 2022
working with LDR
Project Guidance
23
7591
May 5, 2021
LDR Sensor multiple read value question
Programming Questions
5
1507
May 5, 2021