Best teacher ever, i've spent months and months trying to learn programming and have watched hundreds of videos and i learned more in the past 2 days watching your videos than i have in the past 4 months, your videos are much appreciated!!!
@@paulmcwhorter i had a couple questions about a project im working on to build an ecu for my grandpa's truck he passed down to me, the ecu was water damaged and i havent been able to find any companies that were able to rebuild it. I feel i've got the injection side of it worked out but the injectors run on a hydraulic system that runs off motor oil, there is a high presssure valve that feeds the injectors and runs off an icp sensor that regulates it, i know the factory bases the pressure off of rpm, on cranking it requires 1v and from the valve should make 250psi and at idle 750 psi and up to 3000psi at redline, i was wonder how i could do this based on the cam hall effect sensor? I'm struggling with figuring out how i would program the variables
He's indeed the best teacher other videos seems complicated for beginners but he have the ability to break things down to beginner's level how I wish he could cover all aspect of Arduino God bless you sir
He's indeed the best teacher other videos seems complicated for beginners but he have the ability to break things down to beginner's level how I wish he could cover all aspect of Arduino God bless you sir
We are out here, I'm glad to have Learned more about Interrupts..... I played with this Sketch and had one Led blink at 1.5 seconds and the other blink every third of a second... Oh and I did use a variable for the delay as learned from newer Lessons. Thanks
OMG Paul. mate you nailed it. It's amazing how you explain this I read a lot of articles and watched a lot of vids buy how they explain is absolute rubbish. it like I am an expert they expect me to know everything before I watch the video. Yet you explain it in a very understanding way thank you.
@ 15:26 you state that void denotes a function. In truth, void denotes that the function has no return type. The parenthesis after the function name is what denotes an actual function.
I watched the 68 lessons on the Arduino. I looked at this group of 36 lessons and thought it was a an old duplicate version of the 68 lessons. Boy, am I glad I decided to go through these as a review. There is so much more to learn here. I hope others will see this and not make the mistake I nearly made, skipping these 36 lessons.
1:45 you could set the delay for 250ms (instead of 1000ms) for the yellow led and use a counter variable for the redled. Increment the counter every 250ms. Once the counter reaches 4 you'd turn on the red led and set counter back to 0.
I feel so grateful for his awesome video and he's so passionate about teaching useful things even though he doesn't really have to. I can also learn that kind of things from his tutorial
Keep up the good work :-). Suggestion: How about replacing all the code in your interrupt routine with this: digitalWrite(YellowLED,!digitalRead(YellowLED)); that would make the code a bit shorter :-)
Thank you this should help with what I want to do. I want to monitor a battery charger. It has a slow flashing LED's to say it is charging a battery but it flashes quickly if the battery is not charging. If it is not charging, you usually need to disconnect the battery and reconnect it again. Sometimes it starts to charge then gives up in after a minute or so. Then you need to try again and watch it for a while and see if it's going to keep charging. Sometimes you need to disconnect and reconnect the battery a few times before it will charge so I thought I'd use an Arduino to monitor it for me and a relay to disconnect and reconnect the battery. Then maybe add a sounder to say when the battery is charged when the LED stays on. So I'm reading what the LED is doing, rather than writing to it but I think I can work out how to do than from your videos. Thank you very much.
Thank you, prof. McWhorter. Trying to figure out relationship between LEDStatus ="OFF" and DigitalWrite(YellowLED, LOW); Also am trying to figure out how to apply these principles to my own mission--to program arduino to read time intervals between a series of photogates with intention of measuring rate of slowing (derivative of speed) of a ball that has rolled down a ramp onto a flat continuation of the track; comparing balls of different materials (densities).
Paul, thanks for your great work. It would be great if you shoot a series of lessons on low-level Arduino programming - working with port registers, hardware timers etc. I mean direct Atmega registers usage, without any libraries.
Why does the yellow LED keep on toggling even if it is present in void setup(). Why don't it after return statement, go to the void loop() and continue its execution there ?
sir here you have not declared timer1 as a TimerOne variable but it works !! how is that even possible :D for me it didn't work until i added this line before void setup : TimerOne timer1;
Hi Paul, Thank you for your lessons! They are the most comprehensible tutorials on Arduino that I`ve encountered on the Internet so far. I feel jealous of your students :) I have a question on this one. How many interrupts can we use in one an the same program?
Is this part of a HS class? Damn, may need to go back to HS. lol. Have EE degrees and spent my career as an applied mathematician in Geophysical Research. Watching this series I'm beginning to feel like an EE. lol. Keep up the great work. It's a great time to be alive.
I've made a 7 seg 0-99 counter and I'd like to interrupt the counter when the user inputs a number and then display only that input number. So far the counter, serial display, 7 seg display, and input work fine. However, it won't display the input number until the counting loop reaches 99... which is a long wait. Any tips?
Really good demo thats simple so we can fully comprehend whats happening. Question ! Putting a delay of 50,000 on line before "return" in the BlinkYellow function stops program functioning properly but 5,000 delay seems to have no effect. I was just seeing the effect of a delay here on the main void loop.
Hey Paul, Using a Nano, can I have 2 interrupts at the same time? I want to get 2 RPM reading using Hall Effect Sens. Thanks for making these videos for the Adruino. Great for us who will never be "programmers".
Sir, I'm your regular student and subscriber.. I'm working on Final Year Project which is arduino baaed. It consist of multiple sensors, I have written a lengthy code and I want to use software interrupt. I wana to monitor the output of a sensor if its output falls in some define interval, In this moment program will be divert into interrup function and wil be do aome something special (defined in interrupt fuction), so the question is that I can do it with same syntax you are using in this tutorial? Plz
Thank you for taking the time to explain could you use this to grab input high or low from another pin to use as a trigger to turn off another pin. As opposed to using mills function.
Hi i built my own flux capacitor from back to the future, with my friends help. We have written a large sketch with 9 sequences. we have the y centre leds (3 strips of 10) and door leds (4 x3) working simutaneously. we are using arduino mega. everything works fine but we are having the problem of the IR remote changing the sequences. Im happy to show you the code if you could help. thanks
Turning two ore more LED's on/off simultaneously, by using only delay, it's not complicated, it can be done very easy, so for this purpose, we don't need to use interrupt at all, but I agree, sometimes they can be very useful. Thanks for the video.
Sir, a suggestion please. I think instead of calling the LED status "on' and off- a string, it could be kept as a boolean-true /false and then toggling state would be as simple as !ledstatus. It would make the code more concise. Thanks for the lovely lecture
I want to write a script to make a joystick with 8 axis and 12 buttons based on a joystick library I found on Instructables, It is way beyond my capacity LOL. Wish I had your expertise!
First of all my congratulations for your videos! I have a question, why there isn't a return in the second IF from the void BlinkYellow function, it returns automatically?
i m watching many such programming here. my understanding here is, arduino uses python and raspberry pi , uses c . but at some places i see c language with arduino also. please do tell me here, to clarify this aspect, between c and python ? please
An interrupt doesnt run in the background. An interrupt service routine or ISR runs when something signals the proceser of a confition that needs to be hsndled immedately then the processor returns to the place where i left in the main program.
I've been pouring over my Arduino documentation... Have you or would you consider doing a #include file programing series? Where I've found important components like Timer1.h is squirreled away in .h / .cpp file combos. Where in those tutorials have ZERO explanation of the critical need for interrupts. I'd like to be able to have a library of relay driven Motor(Off/On).h files, etc.
Hello Mr. Paul, thanks for your video. I've been searching for this, and it really does help. But, can I still use this approach to control three different actuators (one servo, one linear actuator (through 4channel low trigger relay) and another DC submersible water pump (through 1 channel low trigger relay). I'm seriously trying to figure out how to control these actuators simultaneously. It's definitely going to involve hardware interrupts cause, the sensors attached to these actuators through the Microcontroller (nano) will change state occasionally. Could you assist me, if you've gotten a grasp of what I want to do, I'd really acknowledge that!
Really good teaching and explanations, I enjoy the way you present the information. I realize this video is quite old now, but I only just started getting into Arduino as of three weeks ago. Before that I hadn’t even heard of it, and I’m only familiar with programming because I use it in Microsoft excel in Microsoft access.
Great video, thanks. What if the main loop generates a for example 1 kHz PWM signal, will the interrupt cause it to slow down a little causing it to become effectively 998 or 999 Hz for instance?
I am interested in setting up a weather station using the Arduino. I had wondered how to get events to interrupt the main flow of the loop. I can see that I will need both software and hardware interrupts.
Hi Paul...enjoyed this video. I have a IR sensor that counts the number of times an object trips it to LOW (IR sensors are normally HIGH and goes LOW when an object trips it). I have written the code and it is showing the count....so far so good. Now imagine this sensor going LOW then HIGH for say 2 or 3 minutes, then no more objects. What I would like to do is If there is no action on the sensor for a specified period of time after the last object has tripped the IR sensor, I would like the arduino to turn an Led ON after 10 seconds. I was looking at this video, however, the timer runs 1,000,000 microseconds right from the get go and not from the period of time after the IR sensor goes back to HIGH for the last time...any suggestions? Thanks. Geoff
I want to make a remote controller on Arduino (IRrecv+IRsend+sleep). In which it should read IR data usingtsop1738 then send the desired IR data using IR transmit led. And when no data is received it should go to deep sleep to conserve battery. Because I want it to run on 3v lithium coin cell. I found many codes on the internet using Irsend + sleep or just IRsend + IRrecv. But not a combination of all the three. If you make the code for the same it will be helpful. Need for this project=== some channel nos on my tv are 4 digits. It is very difficult to press 4 keys. So my plan is to press only 1 key tv remote and my controller will send desired 4 distinct key codes to tv by sending cancel command to my 1st command press by me on my tv remote
Actually Paul, I have a stumbling stone for years that I am trying to solve. Now that I have seen your video I myself cannot believe that it is this so simple!! Booom thanks for teaching paul !!!
My former boss used to say he couldn't stand to talk to a programmer, because every time he would ask them a question about programming, they would start with "get a big, strong cup of coffee..."
Hi Paul, have you looked at the STM32F103 (BLUE PILL) using the Arduino IDE? Might make nice tutorials. It has more memory, flash and runs at 72Mhz. Check it out...
Where did you speak about hardware interrupts ? I have searched all your videos without any luck... By the way , your tutorials are very helpfull .Thank you
Best teacher ever, i've spent months and months trying to learn programming and have watched hundreds of videos and i learned more in the past 2 days watching your videos than i have in the past 4 months, your videos are much appreciated!!!
Happy to help!
@@paulmcwhorter i had a couple questions about a project im working on to build an ecu for my grandpa's truck he passed down to me, the ecu was water damaged and i havent been able to find any companies that were able to rebuild it. I feel i've got the injection side of it worked out but the injectors run on a hydraulic system that runs off motor oil, there is a high presssure valve that feeds the injectors and runs off an icp sensor that regulates it, i know the factory bases the pressure off of rpm, on cranking it requires 1v and from the valve should make 250psi and at idle 750 psi and up to 3000psi at redline, i was wonder how i could do this based on the cam hall effect sensor? I'm struggling with figuring out how i would program the variables
He's indeed the best teacher other videos seems complicated for beginners but he have the ability to break things down to beginner's level how I wish he could cover all aspect of Arduino God bless you sir
He's indeed the best teacher other videos seems complicated for beginners but he have the ability to break things down to beginner's level how I wish he could cover all aspect of Arduino God bless you sir
Master of Masters, great patient delivery. Thank you for extending a hand to us beginners. Much appreciated.
We are out here, I'm glad to have Learned more about Interrupts..... I played with this Sketch and had one Led blink at 1.5 seconds and the other blink every third of a second... Oh and I did use a variable for the delay as learned from newer Lessons. Thanks
"Look at that, BOOOMMM, we programmed an interrupt", love the enthusiasm.
OMG Paul. mate you nailed it. It's amazing how you explain this I read a lot of articles and watched a lot of vids buy how they explain is absolute rubbish. it like I am an expert they expect me to know everything before I watch the video. Yet you explain it in a very understanding way thank you.
Sir keep posting your video. Your lessons are the best.Love from India
Will do. Thanks for the kind words.
Sir i need help plz reply me its about arduino timer interupts
Great lessons. You've really helped me progress in Arduino. Thanks!
@ 15:26 you state that void denotes a function. In truth, void denotes that the function has no return type. The parenthesis after the function name is what denotes an actual function.
I watched the 68 lessons on the Arduino. I looked at this group of 36 lessons and thought it was a an old duplicate version of the 68 lessons. Boy, am I glad I decided to go through these as a review. There is so much more to learn here. I hope others will see this and not make the mistake I nearly made, skipping these 36 lessons.
Thanks for all the courses you're providing to us.
Glad you like them!
I come across your video very late, sir, since I'm just hobbiest (not real programmer), your teaching is very awesome,
Thank You very much
Thanks for a great lesson. That worked out very well. I needed a quick overview of interrupts for an extra credit project in my class.
Glad it helped!
Really a next level ......much improved and step to better performance and accuracy. thanks Mr , Paul.
Another excellent tutorial. I enjoy your excitement when the sketch works too.
Paul, fantastic video series! Happy to see you back (without the cough;)) and keep them coming! 2 big thumbs up from me
Hard topic explained in a crystal clear way, thank u so much
Glad it was helpful!
That's really amazing teaching. Thank you so much. I had difficulty understanding this concept from a very long time. Thank you.
My favourite teacher on RUclips :)
You Sir are a great teacher
Many thanks again Paul for an excellent education video. I'm starting to really enjoy all these videos. 👍👍
Paul, thanks a lot for sharing your precious knowledge. You're a great teacher :)
1:45 you could set the delay for 250ms (instead of 1000ms) for the yellow led and use a counter variable for the redled. Increment the counter every 250ms. Once the counter reaches 4 you'd turn on the red led and set counter back to 0.
"void" actually means "this function will not return a value" The full function definition is "return type, function name, ( parameter list here)"
I feel so grateful for his awesome video and he's so passionate about teaching useful things even though he doesn't really have to. I can also learn that kind of things from his tutorial
me : Oeh a new Paul McWhorter vid, automatically checks it out
I must say you seem to be an awesome teacher with lots of patience, keep up the good work
Keep up the good work :-). Suggestion: How about replacing all the code in your interrupt routine with this: digitalWrite(YellowLED,!digitalRead(YellowLED)); that would make the code a bit shorter :-)
Your coughing just went away😃😃
Thank you this should help with what I want to do. I want to monitor a battery charger. It has a slow flashing LED's to say it is charging a battery but it flashes quickly if the battery is not charging. If it is not charging, you usually need to disconnect the battery and reconnect it again. Sometimes it starts to charge then gives up in after a minute or so. Then you need to try again and watch it for a while and see if it's going to keep charging. Sometimes you need to disconnect and reconnect the battery a few times before it will charge so I thought I'd use an Arduino to monitor it for me and a relay to disconnect and reconnect the battery. Then maybe add a sounder to say when the battery is charged when the LED stays on. So I'm reading what the LED is doing, rather than writing to it but I think I can work out how to do than from your videos. Thank you very much.
I like using millis() and do the thinking from a-b my self to not get confused , but I understand that people like to put in librarys.
Thank you, prof. McWhorter. Trying to figure out relationship between LEDStatus ="OFF" and DigitalWrite(YellowLED, LOW); Also am trying to figure out how to apply these principles to my own mission--to program arduino to read time intervals between a series of photogates with intention of measuring rate of slowing (derivative of speed) of a ball that has rolled down a ramp onto a flat continuation of the track; comparing balls of different materials (densities).
Paul, thanks for your great work. It would be great if you shoot a series of lessons on low-level Arduino programming - working with port registers, hardware timers etc. I mean direct Atmega registers usage, without any libraries.
I would use a boolean variable type for LEDStatus instead of a string
Why does the yellow LED keep on toggling even if it is present in void setup(). Why don't it after return statement, go to the void loop() and continue its execution there ?
sir here you have not declared timer1 as a TimerOne variable but it works !! how is that even possible :D for me it didn't work until i added this line before void setup :
TimerOne timer1;
Hi Paul,
Thank you for your lessons! They are the most comprehensible tutorials on Arduino that I`ve encountered on the Internet so far. I feel jealous of your students :)
I have a question on this one. How many interrupts can we use in one an the same program?
Is this part of a HS class? Damn, may need to go back to HS. lol. Have EE degrees and spent my career as an applied mathematician in Geophysical Research. Watching this series I'm beginning to feel like an EE. lol. Keep up the great work. It's a great time to be alive.
sir we love your teaching,i first learned arduino from you,sir pls teach us to the end of the arduino,god bless u sir
I've made a 7 seg 0-99 counter and I'd like to interrupt the counter when the user inputs a number and then display only that input number. So far the counter, serial display, 7 seg display, and input work fine. However, it won't display the input number until the counting loop reaches 99... which is a long wait. Any tips?
Thank you very much Sir.Your tutorials are the best.Thanks again for sharing.
Excellent tutorial, clear language (perfectly understandable also for non native (E-) speaking folks). Thank you so much!
About the two LEDs blinking at different frequency, can you not use a clock and then use elapsed time with if statements to orchestrate activities?
It would be WAY easier to use a boolean instead of a string. You wouldn't need an if either. Just digitalWrite (LED, !ledstatus);
Verry Nice Video. But i have a Question: I want to make my interrupt after one minute, but the interrupt comes after 9-10 seconds? How can i fix this?
Really good demo thats simple so we can fully comprehend whats happening. Question ! Putting a delay of 50,000 on line before "return" in the BlinkYellow function stops program functioning properly but 5,000 delay seems to have no effect. I was just seeing the effect of a delay here on the main void loop.
You answered this question in next lecture 29 so ignore. Thanks
Wow, you also teach the Bible. That's amazing
Amazing 👌! Love from India 💞
Hey Paul, Using a Nano, can I have 2 interrupts at the same time? I want to get 2 RPM reading using Hall Effect Sens. Thanks for making these videos for the Adruino. Great for us who will never be "programmers".
Hi Paul, Can you make some videos about sensor communication protocols like I2C, UART, Single wire communication etc please?
"Stopping all functions during delay is bypassed by interrupts" is the main theme.
thanks very good lessons
Sir, I'm your regular student and subscriber.. I'm working on Final Year Project which is arduino baaed. It consist of multiple sensors, I have written a lengthy code and I want to use software interrupt. I wana to monitor the output of a sensor if its output falls in some define interval, In this moment program will be divert into interrup function and wil be do aome something special (defined in interrupt fuction), so the question is that I can do it with same syntax you are using in this tutorial? Plz
Thank you for taking the time to explain could you use this to grab input high or low from another pin to use as a trigger to turn off another pin. As opposed to using mills function.
Hi i built my own flux capacitor from back to the future, with my friends help. We have written a
large sketch with 9 sequences. we have the y centre leds (3 strips of 10) and door leds (4 x3)
working simutaneously. we are using arduino mega. everything works fine but we are having the
problem of the IR remote changing the sequences. Im happy to show you the code if you could help. thanks
Commenting out the Serial.begin(3600) doesn't stop the sketch. Can we know the purpose of the Serial.begin?
Turning two ore more LED's on/off simultaneously, by using only delay, it's not complicated, it can be done very easy,
so for this purpose, we don't need to use interrupt at all, but I agree, sometimes they can be very useful.
Thanks for the video.
Why do you need a "return" after the LEDStatus=="ON" but not the LEDStatus=="OFF"?
Sir, a suggestion please. I think instead of calling the LED status "on' and off- a string, it could be kept as a boolean-true /false and then toggling state would be as simple as !ledstatus. It would make the code more concise. Thanks for the lovely lecture
I want to write a script to make a joystick with 8 axis and 12 buttons based on a joystick library I found on Instructables, It is way beyond my capacity LOL. Wish I had your expertise!
First of all my congratulations for your videos! I have a question, why there isn't a return in the second IF from the void BlinkYellow function, it returns automatically?
Why don't this professor..... Huh.... College are you listening me?
"void" means data type returning by function )) it can be int or any othe data type supported by this kinda clone of C language.
Good Job! Thanks a lot!
Glad it helped!
do I use it like this Timer1.attachInterrupt(func1); Timer1.attachInterrupt(func2);
In am confused why the LEDStatus=="OFF" if statement doesn't have a return to exit the function.
Why can't you place 'return;' at the end of the 'BlinkYellow' function?
i m watching many such programming here. my understanding here is, arduino uses python and raspberry pi , uses c . but at some places i see c language with arduino also. please do tell me here, to clarify this aspect, between c and python ? please
The best teacher for learning Arduino. I request you to post a video on hardware interrupt.
I need 2 timer interrupts. How can I set these timers?
An interrupt doesnt run in the background. An interrupt service routine or ISR runs when something signals the proceser of a confition that needs to be hsndled immedately then the processor returns to the place where i left in the main program.
Hi I really like your videos. I was wondering if there is a way to have timer1 constantly running?
I have done exactly what you have shown, but the yellow led will not blink only the red. I cannot see what the problem is. Help!
Heartily thank you Paul McWhorter
:)
Very good and thorough tutorial on software interrupts -- big thank you!
sir please put video on nrf24l01 transreciver module please
How I do interrupt when signal low and interrupt break when signal is come to high
Is it possible to add more leds to the Timer one?
appreciated that u are showing steps for downloading and installing library
There are 3 intterupt in arduino.
Timer 0 , timer 1, timer 2
Please make one project on timer 0 , timer 2 interrupt
Amazing intro to the cideo! For real, learned so much thank you
Hey so how do you change the flash rate of the Yellow led?
Thanks sir, for such an easy to understand explanation
BIG RESPECT !!
What is diference if we declare String LEDStatus="ON"; instead String LEDStatus="OFF"; ???
I've been pouring over my Arduino documentation... Have you or would you consider doing a #include file programing series? Where I've found important components like Timer1.h is squirreled away in .h / .cpp file combos. Where in those tutorials have ZERO explanation of the critical need for interrupts. I'd like to be able to have a library of relay driven Motor(Off/On).h files, etc.
Booom external interrupt is not working with me
Hello Mr. Paul, thanks for your video. I've been searching for this, and it really does help. But, can I still use this approach to control three different actuators (one servo, one linear actuator (through 4channel low trigger relay) and another DC submersible water pump (through 1 channel low trigger relay). I'm seriously trying to figure out how to control these actuators simultaneously. It's definitely going to involve hardware interrupts cause, the sensors attached to these actuators through the Microcontroller (nano) will change state occasionally. Could you assist me, if you've gotten a grasp of what I want to do, I'd really acknowledge that!
Really good teaching and explanations, I enjoy the way you present the information. I realize this video is quite old now, but I only just started getting into Arduino as of three weeks ago. Before that I hadn’t even heard of it, and I’m only familiar with programming because I use it in Microsoft excel in Microsoft access.
Great video, thanks. What if the main loop generates a for example 1 kHz PWM signal, will the interrupt cause it to slow down a little causing it to become effectively 998 or 999 Hz for instance?
I am interested in setting up a weather station using the Arduino. I had wondered how to get events to interrupt the main flow of the loop. I can see that I will need both software and hardware interrupts.
Hi Paul...enjoyed this video. I have a IR sensor that counts the number of times an object trips it to LOW (IR sensors are normally HIGH and goes LOW when an object trips it). I have written the code and it is showing the count....so far so good. Now imagine this sensor going LOW then HIGH for say 2 or 3 minutes, then no more objects. What I would like to do is If there is no action on the sensor for a specified period of time after the last object has tripped the IR sensor, I would like the arduino to turn an Led ON after 10 seconds. I was looking at this video, however, the timer runs 1,000,000 microseconds right from the get go and not from the period of time after the IR sensor goes back to HIGH for the last time...any suggestions? Thanks. Geoff
Can you have more than one software timer interrupts using this library?
I want to make a remote controller on Arduino (IRrecv+IRsend+sleep). In which it should read IR data usingtsop1738 then send the desired IR data using IR transmit led. And when no data is received it should go to deep sleep to conserve battery. Because I want it to run on 3v lithium coin cell. I found many codes on the internet using Irsend + sleep or just IRsend + IRrecv. But not a combination of all the three. If you make the code for the same it will be helpful. Need for this project=== some channel nos on my tv are 4 digits. It is very difficult to press 4 keys. So my plan is to press only 1 key tv remote and my controller will send desired 4 distinct key codes to tv by sending cancel command to my 1st command press by me on my tv remote
Actually Paul, I have a stumbling stone for years that I am trying to solve. Now that I have seen your video I myself cannot believe that it is this so simple!! Booom thanks for teaching paul !!!
Very informative - thank you.
My former boss used to say he couldn't stand to talk to a programmer, because every time he would ask them a question about programming, they would start with "get a big, strong cup of coffee..."
Why not use the EDI to install the library?
Hi Paul, have you looked at the STM32F103 (BLUE PILL) using the Arduino IDE? Might make nice tutorials. It has more memory, flash and runs at 72Mhz. Check it out...
Why such a complicated way to add the library? Just use the "Managa Libraries" option in the IDE, enter "TimerOne" and it's done 😮
How does this compare with using a countdown timer using the millis() function and triggering LED on/off commands based on time elapsed?
Where did you speak about hardware interrupts ? I have searched all your videos without any luck... By the way , your tutorials are very helpfull .Thank you