#33 Event-Driven Programming Part-1: GUI example, events, event-loop, run-to-completion, no-blocking

  Рет қаралды 45,572

Quantum Leaps, LLC

Quantum Leaps, LLC

Күн бұрын

Пікірлер: 50
@StateMachineCOM
@StateMachineCOM 2 жыл бұрын
NOTE: The source code, as presented in the video, might cause compilation errors with the newer MDK-ARM / uVision toolsets. This is because the underlying compiler in MDK-ARM has been changed to "Compiler-6", while the older "Compiler-5" is considered now obsolete. The updated code that compiles cleanly with "Compiler-6" is available from the companion website at: www.state-machine.com/video-course and from GitHub: github.com/QuantumLeaps/modern-embedded-programming-course
@sujeetbadnale9441
@sujeetbadnale9441 Жыл бұрын
I'm speechless. This is high quality content. This is very practical. You are blessed By God. Please Keep up your amazing work. God Bless You 😊
@nolimangulabnan6101
@nolimangulabnan6101 4 жыл бұрын
Big thanks Miro Samek. Please keep going. We love it very much
@ashrafkamel1287
@ashrafkamel1287 3 жыл бұрын
after careful rewatches. your explanation is very very beautiful. Thank You very much. May God guides you the Right pass.
@Kodreanu23
@Kodreanu23 3 жыл бұрын
Fantastic video! Short and to the point! Thank you, Dr Samek!
@patricko.5277
@patricko.5277 4 жыл бұрын
Thank you for uploading such great programming lessons. I hope this will never end ;) Of course we will join you next time! Best regards, Patrick.
@jugnu361
@jugnu361 4 жыл бұрын
best on internet sir..........cant thank you enough...........
@bhups200689
@bhups200689 4 жыл бұрын
I am not sure what i should write in comment just to appreciate the amazing work you are putting out here..... Please continue the series.... believe me there is a whole lot generation of aspiring embedded engineers waiting to get this level of quality learning. All the very best man.... Just keep making the videos so that learning can come out of the limits of the text books. :)
@VolkansSpace
@VolkansSpace 4 жыл бұрын
You are an "embedded hero".
@alicangul2603
@alicangul2603 3 жыл бұрын
These lessons are invaluable.
@10e999
@10e999 4 жыл бұрын
Looking forward part2. This is eyes opening.
@maniprevo
@maniprevo 4 жыл бұрын
How Deep you studied this subject I appreciate your work. I studied Charles Petzold win 32 API Book 20 years back when I was learning VC++ this book is necessary to understand MFC Classes. Today software engineers know one knows this subject this much deep
@rajeshkumar-yv9ht
@rajeshkumar-yv9ht 4 жыл бұрын
Thankyou mr author, because of your course only I got a job in ge
@ahmadbanshee9714
@ahmadbanshee9714 4 жыл бұрын
thank you the best lesson in embedded programming
@MrI7asson
@MrI7asson 4 жыл бұрын
While all of your tutorial episodes are of great quality, this episode is next level interesting!
@StateMachineCOM
@StateMachineCOM 4 жыл бұрын
Yes, this lesson marks a transition to the "modern" embedded programming, with future lessons exploring the programming paradigms that go beyond the traditional RTOS. Stay tuned! --MMS
@MrI7asson
@MrI7asson 4 жыл бұрын
Quantum Leaps, LLC looking forward to it!
@muhammed_genco
@muhammed_genco 4 жыл бұрын
Amazing, thanks
@marianm5923
@marianm5923 4 жыл бұрын
Clear and superb explanation. Thank you!!!
@VasaMusic438
@VasaMusic438 3 жыл бұрын
what a great lesson !!! Thanks so much !!!!!!!
@syntheticjudah
@syntheticjudah 4 жыл бұрын
Thank you for this great lesson! It was very interesting to learn about historical prerequisites for creating event-based programming methods!
@shraddharaghuvanshi4621
@shraddharaghuvanshi4621 4 жыл бұрын
Thanks for this series waiting for next lesson
@anthonyrocha8075
@anthonyrocha8075 2 жыл бұрын
Another high-quality lecture. Would it be possible to inform which open source/commercial products use the Quantum Framework?
@KevinAmadiva
@KevinAmadiva 4 жыл бұрын
Great great lessons Miro. Really appreciate your efforts.
@zhitailiu3876
@zhitailiu3876 4 жыл бұрын
Really really amazing, as i am learning QM and QEP!
@ArshadAli-zk5kj
@ArshadAli-zk5kj 4 жыл бұрын
Thank you for this great lesson sir
@cebubikebootcamp
@cebubikebootcamp 4 жыл бұрын
Thank you so much!
@MohamedAli-xb7kh
@MohamedAli-xb7kh 4 жыл бұрын
Thanks sir keep it up 👏👏👏
@madhawapriyashantha3722
@madhawapriyashantha3722 3 жыл бұрын
awesome explanation
@ramadhanafif
@ramadhanafif 2 жыл бұрын
great video, but do you mind to upload a higher quality video? this video is full of texts and having 1080p would be nice
@StateMachineCOM
@StateMachineCOM 2 жыл бұрын
This video should be still quite legible when played in the original 720p resolution. But this is one of the last ones at 720p. The newer videos are at 1080p. Please check them out! --MMS
@abder5453
@abder5453 4 жыл бұрын
thanks man, keep it up ♥
@ejyjawa352
@ejyjawa352 4 жыл бұрын
Hi ! Is Quantum leaps simular to Rhapsody Ibm ?
@StateMachineCOM
@StateMachineCOM Жыл бұрын
Quantum Leaps company provides, among others, the QM modeling tool (see www.state-machine.com/qm ), which indeed is similar to IBM Rhapsody. The significant differences are that: (1) QM is freeware while Rhapsody is expensive, and (2) QM is lightweight and "low-ceremony" while Rhapsody is quite heavyweight and "high-ceremony." Of course, QM offers much less functionality than Rhapsody, but QM supports hierarchical state machines (UML statecharts) very well and generates efficient, highly-readable C or C++ code (arguably even *better* than Rhapsody. Finally, the QM code generator is coupled with the QP Real-Time Embedded Frameworks, which are much lightweight than the IBM OXF framework coupled with IBM Rhapshody. In the end, to get an idea what Quantum Leaps offers you should try it (state-machine.com/#Downloads ). All Quantum Leaps software is open source. --MMS
@alex12I3
@alex12I3 2 жыл бұрын
Can I do the event-driven concept on Raspberry Pi?
@StateMachineCOM
@StateMachineCOM Жыл бұрын
Yes, you could. Please watch the video: Running QP Real-Time Frameworks on Embedded Linux (kzbin.info/www/bejne/ZnLEgYWDiNlloMk ). That video uses Raspberry Pi.
@honggangwei5085
@honggangwei5085 Жыл бұрын
I like your videos very much, may I get your approval to publish them on a Chinese video website?
@StateMachineCOM
@StateMachineCOM Жыл бұрын
Yes, please feel free to re-publish the videos and spread the word. The only request is to please *give credit*. Specifically, for each re-published video, please provide the KZbin link to the original video (the KZbin link can be obtained by clicking on the "Share" button under each video.) Thanks a lot! --Miro
@honggangwei5085
@honggangwei5085 Жыл бұрын
@@StateMachineCOM thanks very much,may I add mandarin script to these videos?
@StateMachineCOM
@StateMachineCOM Жыл бұрын
@@honggangwei5085 Yes, please add Mandarin translation to the videos. --MMS
@giuseppelatorre4500
@giuseppelatorre4500 2 жыл бұрын
Si può avere in Italiano?
@ajitsakri9888
@ajitsakri9888 4 жыл бұрын
I really liked this video please help me with this question Assume 8 LEDs are connected to the ports p1.5-p1.12, write a C code to implement the functionality of the Johnson counter, upon reading key ‘j’ or ‘J’ from the UART terminal, else continuously blink.
@StateMachineCOM
@StateMachineCOM 4 жыл бұрын
Sounds like a homework assignment... Dude, you need to do this yourself!
@benravin6547
@benravin6547 4 жыл бұрын
It is not clear what is application and what is windows system here.
@StateMachineCOM
@StateMachineCOM 4 жыл бұрын
"Application" in this case is the code in the 'hellowin.c' module (left panel in the Visual Studio IDE). "Windows System" is everything else. --MMS
@benravin6547
@benravin6547 4 жыл бұрын
@@StateMachineCOM By using Event driven rogramming we don't need an RTOS, is that true ?
@StateMachineCOM
@StateMachineCOM Жыл бұрын
@@benravin6547 This is actually a complex question. Typically RTOS threads are programmed with blocking calls to the RTOS that explicitly wait for selected events. This programming style is called sequential, which is the opposite of event-driven programming. But it is also possible to structure each RTOS task as an event loop discussed in this video. In that case, RTOS can be *combined* with the event-driven paradigm. The benefit of using RTOS like that is having multiple event loops that can *preempt* each other. And this can be very helpful in achieving an excellent *real-time performance* of the system. Event-driven threads structured as event loops are called "Active Objects" and will be discussed in the upcoming lessons of this video course. --MMS
@rajeshkumar-yv9ht
@rajeshkumar-yv9ht 4 жыл бұрын
why nowadays your videos missing audio music
@StateMachineCOM
@StateMachineCOM 4 жыл бұрын
Several viewer explicitly requested NOT to use any background music, because presumably they find it distracting. It's hard to win here... --MMS
@Ziferten
@Ziferten 4 жыл бұрын
@@StateMachineCOM I've always appreciated the small clips at the intro and conclusion, but please don't add any during the content!
#20 Race Conditions: What are they and how to avoid them?
16:57
Quantum Leaps, LLC
Рет қаралды 41 М.
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,4 МЛН
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 28 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 8 МЛН
Stream, Event Bus or Queue? What's the Difference?
12:20
James Eastham
Рет қаралды 2,9 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 238 М.
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
The Only Unbreakable Law
53:25
Molly Rocket
Рет қаралды 331 М.
Event Driven Architecture - Understanding the Basics
14:49
Execute Automation
Рет қаралды 77 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 578 М.
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,4 МЛН