Jorge_dPO Posted June 15, 2020 Report Share Posted June 15, 2020 Hello, I am currently trying to make a mod to my motorcycle with the MPU 6050 that allows me to turn on one of the two side lights that I have installed depending on the inclination of the motorcycle, so if I lean to the right 10 degrees to take a curve, a relay turn on the right light to illuminate the curve. I would like it to be using the DPM6 to obtain accurate measurements, the idea is that everything is controlled with a button that has another function, that is, that button if you press it once turns on the garage door opener, that is already done , now I need to make that if you hold it down for 3 seconds, the side lights are activated, and that they go on depending on the inclination as I have already explained before. I know what I ask for is very complicated, but I am new to arduino and I have no idea how to make this work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.