How does I/O on microcontrollers work? - Beyond Arduino #1
Вставка
- Опубліковано 14 тра 2024
- Learning how to use a microcontroller is difficult, especially if you have been stuck using only Arduino. Watch and learn how to take the first steps beyond Arduino.
-- Links --
My Website: sinelab.net
Schematic: sinelab.net/img/avr_port_simu...
-- - Наука та технологія
I appreciate your efforts in producing high-quality videos on the fundamentals of electronics.
I hope you get the exposure you deserve.
Thank you very much!
Hello there!
I have been reading the datasheets of AVR micros for countless hours, and I've discovered a pretty neat fact, that is relatively unknown, and could be helpful: by Writing a '1' bit to the PINx register, said bit within the PORTx register will toggle to the opposite of its current state! So: A bit-bang of a communication protocol could be implemented in fewer instructions, which incidentally makes the implementation a tad faster!
I've used this neat trick to bit-bang I2C on ATtiny micros, and works like a charm!
Really great video, this inspired me to double down on my hobby :D
I did not know that! It will definitely come in handy. :)
This is amazing. I love the way you explain things so clearly.
Glad it was helpful!
love the way you leave cute comments mayank x)
Wow
I am really excited for the series
Thank you.
Thanks for watching!
Me too!
I noticed that GreatScott featured you as one of his subscriptions on his main channel- I hope it helps get you the recognition you deserve!
I hope so as well!
…. That noise in the background is annoying… you should consider getting rid of it..
The... Music? I agree it could be something a little quieter or less distracting but I think it's very welcome