How to Blink an LED in C (avr, msp430)

Описание к видео How to Blink an LED in C (avr, msp430)

Patreon ➤   / jacobsorber  
Courses ➤ https://jacobsorber.thinkific.com
Website ➤ https://www.jacobsorber.com
---


How do I program a microcontroller to blink a light, in C, without an IDE, and without a bunch of libraries?

This video follows up my previous Arduino video, looking at how we blink LEDs without an IDE and without the Arduino libraries. I go over cross compilers, special function registers used for controlling pin modes and output states, and common compiler options for the AVR-based Arduino Uno and an MSP430 (MSP430FR5969). Links to the hardware, software, and related videos below. Enjoy.

Hardware:
https://store.arduino.cc/usa/arduino-...
http://www.ti.com/product/MSP430FR5969
I also use the MSP430FR5994, but the 5969 is what I had lying around.

avr-gcc links:
https://gcc.gnu.org/wiki/avr-gcc
https://www.nongnu.org/avr-libc/
(on mac, you can use homebrew, as well — "brew tap osx-cross/avr; brew install avr-libc")

msp430-gcc:
http://www.ti.com/tool/MSP430-GCC-OPE...
https://dlbeer.co.nz/mspdebug/
https://dlbeer.co.nz/mspdebug/tilib.html
http://www.ti.com/tool/MSPDS

Related videos:
Embedded Intro:    • How to Get Started Learning Embedded ...  
Blink (w/Arduino):    • Blink! The Hello World of Embedded Sy...  
Make basics:    • Learn make in 60 seconds.  
Make w/Automatic Variables:    • More make: automatic variables for sm...  





***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.


About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/

To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [  / jacobsorber  ]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-so...]

Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.heroku...]

Комментарии

Информация по комментариям в разработке