lunduniversity.lu.se

Computer Science

Faculty of Engineering, LTH

Denna sida på svenska This page in English

Mechatronics

Here are links to youtube for my programming refresher lectures in the mechatronics course. Please check this page and watch the videos and look through the slides before the lecture so you can ask questions about the content in the live session.

Programming refresher

This is aimed at students needing a programming refresher or introduction to C programming

Programming refresher and introduction to C playlist, and slides 1   slides 2 

Warning example of "the usual arithmetic conversions": intconv.c

Example of preprocessor macros: macros.c  and example command lines macros.sh

Low-level programming

This is aimed at all students and contains introduction to low-level programming (bit operations, byte order) that is required to understand the serial port and AVR programming.

Low-level C programming playlist,  slides, and code examples:  bit_operations.c bitwise_flags.c