i am trying to create a project that will sound a buzzer when a button is pressed and the accelerometer is reading a certain value, this is what i have so far(attached) but its incomplete and not working, does anyone know why? (I am a very amateur coder so its probably awful, this project idea is more difficult than I expected) Thanks!
Final_Project_Code.ino (2.41 KB)