Advanced Arduino Code Optimisation with Pin Registers

preview_player
Показать описание
In this video I will show you alternative to using pinmode, digitalRead and digitalWrite commands to manipulate arduino pins.
Showing pin registers can help you optimise arduino code but also oin manipulation done this way is also much faster

Link to code

If you like this content and you want to support me in creating similar videos go to my Patreon webpage
Or Paypal

Music Credits;
––––––––––––––––––––––––––––––
Track: Autumn — KV [Audio Library Release]
Music provided by Audio Library Plus
––––––––––––––––––––––––––––––
Рекомендации по теме
Комментарии
Автор

❤ From SRI LANKA 🇱🇰❤ I've learnt lot from your channel.. and I think you deserve much much more subscribers, likes and comments

MathinThorawemu
Автор

Without videos like yours, my projects would be dead in the water. Thank you for the excellent explanation.

johneagle
Автор

Well done video presentaton. Thoughtfully done, nice pace.

bobvanwagner
Автор

Thanks, someone has built a circuit with an Atmga8 on it, so I THOUGHT I knew about them. One of the switches on their board goes to pin PC3.. so there I am DRDC &=PC3 your tutorial made me look at PC3 which turns into a 3 hmm thankfully only 3 leds and three switches!!

johnh
Автор

great vid. i always need deep understanding to understand the thing. this made me moved forward... Also i learned today, that you can achieve much memory saving by use for delay(1000) function thic code instead: for (long i = 0; i++){asm("")}

jozefsoucik
Автор

Nice explanation. Setting PIND also functions as a toggle...eg: PIND = B00010000 will toggle pin 4 each time the code is executed.

mrtom
Автор

that was interesting, nice video
thx

Lunolux
Автор

This is fantastic... 👍👍👍 But, what is the IDE? Is it Arduino IDE? Appreciate your reply.... 🙏🏻🙏🏻🙏🏻

Gaminiheraliyawala
Автор

Great tutorial, thanks. I'm also interested in your small led modules. Could you please provide me link to buy them?

alcanceweb
Автор

Please make next video on
How to create fastest function

Replacement for
Digital read
Digitalwrite
Analog write
Analog read

Delay function

shubham
Автор

Is it good or bad
14:40

That pulse

shubham
Автор

Pls make more advance video on port manipulation and writing of complex arduino codes

Sekhar_Home
Автор

Hi
great Video!

Do you can explain how to write a code with register for nrf24l01 (Receiver & Transmitter) ?

snouzz-gaming
Автор

Can we use digital pin D0 and D1 as output and drive LED

shubham
Автор

There is NO IF statement in the first code shown. Register D has 8 bits (NOT 7). Otherwise, great video.

nox