Hi I am trying to code a HMC5883L to detect vehicles. Unfortunately even though I am able to get readings on the graphs I want to light up an LED red when it detects a vehicle signature.
I also want to smoothen the graph to get a threshold value.
Please Help.