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:
https://github.com/RalphBacon/Arduino...
Timer 2 Interrupt Info from Nick Gammon (no, not related)
http://www.gammon.com.au/images/Ardui...
List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphB...
--------
PRODUCTS
--------
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
https://www.banggood.com/custlink/v33...
38-pin ESP32 with headers for just $4.99 plus $2.25 shipping ($9.00 plus 0.99 shipping if ordered from USA):
https://www.banggood.com/custlink/KGK...
Amazon UK sell this 2.8" screen (in the UK) for just £10.59 next day delivery!
https://amzn.to/2HHFYue
Amazon UK also sell the 38-pin ESP32 DEv Kit for just £5.55 in the UK:
https://amzn.to/3mFhy30
AliExpress offer both 30-pin and 38-pin ($3.36 + $1.04 shipping) of the ESP32 Dev Kit:
https://www.aliexpress.com/item/32959...
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:
https://github.com/RalphBacon/Arduino...
My channel, GitHub and blog are here:
------------------------------------------------------------------
/ ralphbacon
https://ralphbacon.blog
https://github.com/RalphBacon
------------------------------------------------------------------
On this page of the site you can watch the video online #209 with a duration of hours minute second in good quality, which was uploaded by the user Ralph S Bacon 18 December 2020, share the link with friends and acquaintances, this video has already been watched 17,491 times on youtube and it was liked by 690 viewers. Enjoy your viewing!