STM32 Tutorial #7 - OPTIMIZING C Code (getting smarter every day)

preview_player
Показать описание
Optimizing C code by dramatically reducing number of calculations.

If you learned anything from this video, please like, subscribe and share! If you don't like it please let me know why so I can learn to do better.

#stm32 #tutorial #stm32cubeide #c #optimization #stm32world #arduino

00:00 Intro and recap
02:40 Checking zero or non-zero
03:40 The time counter - reducing number of calculations
05:50 Testing new version - much much faster
Рекомендации по теме
Комментарии
Автор

I never knew that the impact of modifying a few lines was this phenomenal. Thanks for this masterpiece.

Pattamatta
Автор

Even though optimizing embedded programs is crucial, I haven't seen any channel mention it before. Great explanation and excellent job!

xXDrSteinXx
Автор

happy to find ur series here on youtube! right now starting at chapter 7

tillselectric
Автор

you have a great series of videos here. keep it up!

dimalurie
Автор

Now I have to look at my codes twice. First make it work, Second force it to be smarter.

raminrajabioskouei
Автор

Would be wonderful to see more comments on these videos.

LarsBgildThomsen
Автор

A rather interesting view/analysis of the blink application I claimed was done right. However, right or not it could still be optimized quite significantly.

stmworld
Автор

Thanks! It gets more entertaining with each episode.... :)
How about earning few more cycles by asking if btn_pressed just before we need the current blink_delay value ?
That is inside the next_blink if block ?

skcskcskcskc
visit shbcf.ru