Bare-Metal MCU #8: Optimizers and Bit-Banging

preview_player
Показать описание
This is the eighth video in a journey from Arduino to STM8. The goal is to begin with Arduino, which is a popular platform to serve as a starting point. I'll then break it down into a fundamental level, and then apply those fundamentals to other microcontrollers, such as the STM8.

This video focuses on how to write code that is easier to understand for embedded programmers, and how to optimize your code to reduce the size.

ATMEGA328 Datasheet:
Рекомендации по теме
Комментарии
Автор

This is pure gold. Im literally learning this stuff as an engineer and the fact that u explain all this topics that easily and understandably is amazing. Can’t wait for more.
Thanks sir

Optinix-gzqg
Автор

The way you are explaining these topics is great, you're making them so easy to understand.

n-o-i-d
Автор

This series of videos make me to see embedded system a simple one. Thanks for this.

gokulramakrishnan
Автор

Absolutely brilliant! Only a handful of educators are capable of translating complex processes to this level of simplicity. Thank you, Mitch.

gaborzsamboky
Автор

I have watched many many many low level programming tutorials, but this series is better than all of the others by a few magnitutes.

hansdietrich
Автор

bruh, your videos are literally a gold mine, you really demystified bare metal MCU for me, before i watched your videos i didn't know what happened after i write C code and upload it, it was a total Pandora box for me that i was scared to get into, but THIS! this makes it that much more exciting and easy to understand, you truly have a gift for teaching complex concepts using easy language! thanks a lot man!
especially given the fact that i have looked to learn this information through other vids/courses, but there is always a problem of them using too specific examples and not explaining how to translate this knowledge to other processors/compilers and how to use the manuals to find all these necessary infos that you can implement for whichever processor you're using. you are amazing, thanks again Mitch

jayedr
Автор

Very good series. I've watched them all. I liked how you showed the assembly language output of the compiler.

rick_
Автор

this part at 7:15 is simply what I was trying to understand for ages probably (not that I am not aware of boolean algebra but in practice) -as many said already: you really have this "thing" that makes you super teacher ;-)

zyghom
Автор

These tutorials are so good! I keep coming back to these videos every time I need to implement more and more complicated things on microcontrollers

Автор

Mitch, this video has a couple of technical inaccuracies.

Firstly, "bit banging" is the practice of emulating a peripheral (e.g. PWM, I²C) via direct port manipulation. What you meant to say was "bit manipulation".

Secondly, it's not an "amperstand", it's an AMPERSAND.

SodAlmighty
Автор

So I cant believe these videos dont have more views than they do.

kaxbyrita
Автор

Most Excellent! This deserves MUCH more views.

emilsitka
Автор

in the previous video i commented about "less" being the pager for man file. in this video i can see that you're using "more".
this is basically the same thing. "more" being the old pager. nowadays "more" isn't used anymore. in most systems if you run "more", it actually uses "less" instead (more is symlinked to less). the original more couldn't go "up" direction in the text.

minhajsixbyte
Автор

Thanks for your video, that helped me a lot to understand the difference between the two methods, Cheers!

SquadQuiz
Автор

PORTB^=(B11<<5); works if you want to toggle the next bit along in the same command btw. Can be useful.

Ewecnt
Автор

This video just made it to my usefull µC Bookmark list :D. Thanks for the effort you put in!

paulg.
Автор

Thank you bro👍 finally clear my all confusion about bit wais operation.

warrior
Автор

Just discovered your channel. Great stuff!

superchromat
Автор

I am loving these videos.

I always thought the standard presentation of the arduinos was a bit "black box". I get it, it was targeted at makers, not high level programmers who wanted to dabble in lower level programming. but I never found it that satisfying to just download libraries and use the arduino IDE.

I have a 7 segment display and a temperature sensor and my humble goal is to make a little thermometer without using the arduino IDE or libraries (I'll let myself use the AVR headers though)

LewisCampbellTech
Автор

thank you love it! please keep them coming!

testme