STM32 Tutorial #35 - DEMYSTIFYING C Pointers (and Variables)
In this video we will be diving into C variables, pointers and function call parameters. None of this stuff is STM32 specific, only general C programming stuff. IF you are comfortable with C programming and only here to learn about STM32, you might want to skip this video and watch some of the other videos in the series instead. Earlier video discussing C types on STM32: https://www.youtube.com/watch?v=xjMX6PgJv4g Project Files: https://github.com/STM32World/stm32fun #STM32 #Tutorial #Video #pointers 00:00 Intro 01:22 The bible of C - The C Programming Language 02:24 Introducing the code 02:48 First function - passing by value 03:50 An unexpected (perhaps) result - explaining what is happening 06:39 Introducing pointer parameters - passing by reference 08:40 Pointer variables 10:55 Structs 11:50 Function operating on the struct 12:57 Making the struct work (returning a struct) 15:00 Struct as a pointer 16:40 Arrays and Pointers 17:40 Cycle through an array by indexing 18:30 Cycle through an array by pointing 20:04 Pointer math/arithmetics
Download
0 formatsNo download links available.