Beruflich Dokumente
Kultur Dokumente
Hey Makers,
Software Requirements
Arduino IDE
Add TipAsk QuestionCommentDownload
Step 2: Description
2 More Images
Y - NIL
Z - NIL
Before you get started with coding you need Arduino IDE.To
download Arduino IDE and for NodeMCU setup, you can check my
previous instructacle.
void setup() {
Serial.begin(9600);
delay(100);
Serial.print("X-axis : ");
Serial.println(x);
}</p>
Then Create a new sketch and paste the code below in the Arduino
IDE and hit Upload.
You can tinker with it if you like based on the application, or just use
it as it is.
Attachments
Accelerometer.ino
Download
**Make sure you have your NodeMCU model selected and the
correct serial port ticked (see pics). Then just click the Upload
button**
After you upload the code, you can see the Output on the Serial
Monitor.
Add TipAsk QuestionCommentDownload
Step 6: Output Demonstration
That's all makers!
I hope it helps you.