Arduino Uno Wind Speed Way 1
#include “TimerOne.h” // Timer Interrupt set to 2 second for read sensors #include <math.h> #include <Time.h> // speed ok near speed-3.ino #define WindSensorPin (2) // The pin location of the anemometer sensor char wind[10]; //empty array where to put the numbers going to the master int LastValue; //int wind = 0; volatile bool IsSampleRequired; // […]