Тёмный
No video :(

How to Blink LEDs with Timers and Interrupts in C (MSP430, Arduino) 

Jacob Sorber
Подписаться 163 тыс.
Просмотров 41 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@n0handles
@n0handles 4 года назад
Just want to say I'm glad I stumbled on this series! Keep these coming! I'm a CS student myself, and I've been thinking about getting into embedded systems engineering. However my university doesn't offer any embedded systems courses. Thanks for the great introduction
@camilocienfuegos1531
@camilocienfuegos1531 4 года назад
You are perfect educator. Please keep teach us what beginner need. Greetings from Turkey.
@JacobSorber
@JacobSorber 4 года назад
Thanks. I'll keep doing what I can.
@rjgonzalez8108
@rjgonzalez8108 4 года назад
Do you have a video where you explain how to setup VSCode for embedded systems?
@arturfil
@arturfil 4 года назад
Really liking this video series, looking forward to the next!
@aabdev
@aabdev 3 года назад
Dear Jacob Sorber, Thanks a lot for the tutorial. 1) What happens when an interrupt is triggered? 2) What is the interrupt handling algorithm in AVR ARM PowerPC x86 MSP430 MIPS ? 3) How does the microcontroller know where to return after handling an interrupt? 4) Who saves the processor registers when interrupt happens and where? 5) What code performs correct transfer to and from interrupt function? Regards, AB
@blaFERNANDOblablabla
@blaFERNANDOblablabla 4 года назад
waiting for the next vid! awesome content. Saludos desde Veracruz, México.
@JacobSorber
@JacobSorber 4 года назад
Working on it. Thanks for watching.
@DipsankarMaity
@DipsankarMaity 3 года назад
Who are you 😭? Why wasn't I recommended your channel earlier.
@cuteisjustice8208
@cuteisjustice8208 4 года назад
This video came right after I finished my Microcomputers course kek. Good video nevertheless.
@JacobSorber
@JacobSorber 4 года назад
Sorry to be late to the party.
@henryvoide3651
@henryvoide3651 3 года назад
Professor Sorber, I have learned from your video presentations. I wish you had more of these videos about programming TI's MSP430 Microcontrollers using C language. Do you know any consultants for programming TI's MSP430 Microntrollers in Silicon Valley, CA?
@sakshisingh8167
@sakshisingh8167 3 года назад
PLEASE DO STM32F407VG DISCOVERY BOARD
@hakimcherfi217
@hakimcherfi217 3 года назад
14:05 "unless you work in the kernel"... Could you explain in a future video how a kernel works ? (What it is, how it is written, what to do with it,how to modify it...) Great channel BTW !!
@davidgrol3425
@davidgrol3425 2 года назад
Why is clock rate set to 15.998976 instead 16.000000, is that specific arduino?
@yekaalohabtemichael5068
@yekaalohabtemichael5068 4 года назад
Can you talk about bits minuplation please? I did lzw compression and was so comfusing. Reading no matter what the file is and encode it the be able to decode it aswell
@JacobSorber
@JacobSorber 4 года назад
Yeah, I've got one on bitfields in the works. Specifically, what sort of bit manipulation are you interested in?
@yekaalohabtemichael5068
@yekaalohabtemichael5068 4 года назад
Really sorry didn't see your response. Bit field is very helpful. My project was, lets say you have a file no matter what the content is could be image,could be text so the program should compress it and decompress it. So the program should read the file as bits since the file could be anything. Thats what i was struggling with. The bitstream concept. However I don't want to pass without saying thank you tho. I love your teaching style. I am afraid you could get me hocked to embeded system.
@thetoolman01
@thetoolman01 3 года назад
Trying to use this code and for some reason the CSKEY_H is undefined, any ideas on why this might happen, or how to find the key in the datasheet?
@benjaminshinar9509
@benjaminshinar9509 4 года назад
cosmic alpha particles. the bane and goto blame thing of cs.
@JacobSorber
@JacobSorber 4 года назад
Right up there with...it's possessed. :)
@cadillacescalade5428
@cadillacescalade5428 Год назад
Hi, what about using this towards a traffic light set up ? An at a certain time the lights go on a flash blink for a certain time an then back at original
@breannnicole9833
@breannnicole9833 Год назад
You can do this with a schedule
@cadillacescalade5428
@cadillacescalade5428 Год назад
@@breannnicole9833 can I get the code ?
@JohnCDSMB
@JohnCDSMB 4 года назад
You're right, comparing children requests to polling. Are women requests comparable to interrupts? They don't depend on your actions, stop your activities at any moment and you're obliged to listen and serve them!
@JacobSorber
@JacobSorber 4 года назад
Wow. I'm definitely not touching that one. Glad you're having fun with the analogies, though. :)
@JohnCDSMB
@JohnCDSMB 4 года назад
@@JacobSorber Well, let's say I have a lot of experience with both techniques. Congratulations for the way you teach, it's really great
@toastyPredicament
@toastyPredicament Год назад
I mean prefer
@allisonscanlan4144
@allisonscanlan4144 3 года назад
MSP430 @9:00
@thaskarthaskaran1425
@thaskarthaskaran1425 3 года назад
Code for atmega 168
@SuperCape
@SuperCape 4 года назад
How do you handle interrupts in GNU/Linux x86?
@JacobSorber
@JacobSorber 4 года назад
On the x86, it's pretty similar. You register your ISR for the interrupt you want. But, this is generally done in the kernel, not by user programs. So, for examples, your best bet is to look at the source code for the operating system. I might do a kernel video one of these days, but it would be pretty involved. So, it probably won't be in the next few months.
@allisonscanlan4144
@allisonscanlan4144 3 года назад
What does the
@JacobSorber
@JacobSorber 3 года назад
It's a shift. It shifts the bits to the left. So, 1
@gabrieleinvernizzi9631
@gabrieleinvernizzi9631 4 года назад
On my MacBook I can’t find the port when I connect the arduino (I have a clone, the Elegoo Uno R3) with the cable, so I can’t upload the code, can someone help me?
@JacobSorber
@JacobSorber 4 года назад
I would first try another device to determine if it's your computer or a broken Uno.
@gabrieleinvernizzi9631
@gabrieleinvernizzi9631 4 года назад
@@JacobSorber Thanks, I'll try
@tseckwr3783
@tseckwr3783 2 года назад
yes, dont get hung up using delay()...
Далее
How to Blink an LED in C (avr, msp430)
16:37
Просмотров 33 тыс.
Кого из блогеров узнали?
00:10
Просмотров 547 тыс.
Is the C programming language still worth learning?
9:27
I built my own computer. by hand.
13:03
Просмотров 1,2 млн
The LIES That Make Your Tech ACTUALLY Work
11:29
Просмотров 789 тыс.
How to Use Arduino Interrupts The Easy Way
33:28
Просмотров 82 тыс.
How do I access a single bit?
11:07
Просмотров 20 тыс.