I have a sensor that return their info with a led flashing ( the temp for example is measured depending of the number of blinks of the led) more temp = faster flashes (Blinks) of the led less temp = less flashes
usually the range I use is aprox from 10 to 50 flashes per second ( I dont count every flash is aprox, but is always blinking, i never see the led like a continue ON led)
My question is, how can I translate that info for the arduino.
Im a newbie and maybe is a dedicated code or pin for that but i dont know, I only use analogic and digital, and I think analog dont work because the loops of the arduinos sometimes will catch the led on or off but wont recognize the time between flashes, and digital i think neither)
so how can i do it?
thank you for read.