XadowTtutorial-Shaking Shaking

Introduction

For this demo, you need to use the:

  • Xadow Main Board

  • Xadow OLED

  • Xadow Accelerometer

  • Xadow Barometer.

Connect them with FFC Cables, then you need to do some preparations that refer to the first Demo’s steps. Differ from the demo1, you need to download the library:Smile and directly open SMILE INO file.

This demo functions: In normal circumstances, the OLED displays the current barometric pressure value. When you shake the Xadow Accelerometer, there will appear a smile face on the screen.

Note

Before uploading the code:smile to Xadow main board, please make sure there are the library:OLED_Display12864 and DigitalAccelerometer_ADX345 in the Arduino Library. If not, please download them and put them on the libraries file of Arduino IDE by the path: ..\arduino-1.0.1\libraries after unzipping. Do not forget to select Seeed Xadow from the Tools | Board menu of the Arduino environment._

Resources

Demo2 SMILE Code

Help us make it better

Welcome to the new documentation system of Seeed Studio. We have made a lot of progress comparing to the old wiki system and will continue to improve it to make it more user friendly and helpful. The improvement can't be done without your kindly feedback. If you have any suggestions or findings, you are most welcome to submit the amended version as our contributor via Github or give us suggestions in the survey below, it would be more appreciated if you could leave your email so that we can reply to you. Happy Hacking!