Hi, first post here. XD I'm a noob please go easy lol. Lets say I want to use a pot to control blink rate for onboard LED on pin13. When I say control though I mean when pot is at 0 the led is off and 1023 is always on then duty cycle would be calculated inbetween. My idea was to use analogRead/analogWrite but I want to see the led actually blink not fade and frequency is way too high.
I'd like pulses to be 100ms+ or so. It could even be a bit longer.I tried to adjust frequency of timers themselves then using analog to no avail. Tried with different timers as well. Result always was led off until about 80% on the pot then led on. No in between.
I've also tried using digitalWrite and that actually worked although, at 0 on the pot the led would blink 1 second off and 1 second on using the code I sent to arduino which is 50% duty cycle in my messed up head.
Here's a video showing about what I'm trying to do. Just imagine the lamp is led on pin13 so we don't go off topic..
I can't post code since I dumped the 100 different things I tried.... :( If anyone has a good idea for my goad I would really appreciate it! THANKS!