EasyManua.ls Logo

SunFounder 3in1 Kit - Page 116

Default Icon
351 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder 3in1 Kit
Code
Note:
You can open the file 3.2.feel_the_magnetism.ino under the path of 3in1-kit\learning_project\3.
2.feel_the_magnetism.
Or copy this code into Arduino IDE.
After the code is uploaded successfully, when a magnet is near the reed switch, the serial monitor will print 1.
112 Chapter 4. Basic Projects

Related product manuals