#209 Arduino Timer Interrupts - Overflow & Comparator. Easy Peasy.

4 Просмотры
What! Timer Interrupts? So easy and so useful.
PCBWay Big Sale Christmas 2020 https://pcbway.com $5 for 10 PCBs

I had to show you how to do this on an Arduino (Uno/Nano/Mini) as it's a very useful technique for offloading some processes, even though I tried to use the same technique on an ESP32 - and failed, as it was not the right way to do what I wanted. But here it is!

If you need a regularly triggered function (from every few microseconds to every few milliseconds) then this is a possible solution.

Not only that, I have an important (but sad) announcement about my future videos as well as a quick, 5-minute update on the Internet Web Radio (working so very well!)

Sketches in my GitHub:

Timer 2 Interrupt Info from Nick Gammon (no, not related)

### List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)

You can help my channel by clicking on an affiliate link before purchasing _anything_ from that supplier.

The 2.8" TFT touch screen used in my demo for just $6.66 (plus $2.05 shipping) or from USA & UK direct:
2.8 Inch ILI9341 240x320 SPI TFT LCD Display Touch Panel SPI Serial Port Module

38-pin ESP32 with headers for just $4.99 plus $2.25 shipping ($9.00 plus 0.99 shipping if ordered from USA):

Amazon UK sell this 2.8" screen (in the UK) for just £10.59 next day delivery!

Amazon UK also sell the 38-pin ESP32 DEv Kit for just £5.55 in the UK:

AliExpress offer both 30-pin and 38-pin ($3.36 + $1.04 shipping) of the ESP32 Dev Kit:
I couldn't get an affiliate link for above, click here first: https://s.click.aliexpress.com/e/_ADe0jl
That's a link for a bare ESP32 with a whopping 16Mb on board! But needs an expansion board/PCB.

If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey

Sketches in my GitHub:

My channel, GitHub and blog are here:
Комментариев нет.