Tutorial 1: Let's officially begin!
- Content: More Basics of C
- Classworks: 5 Classworks
- Homeworks: 3 Homeworks + 1 Bonus Homeworks
- Homework Deadline: 4 Oct 2024 (Fri) 18:00
Session | S01 | S02 | S03 |
---|---|---|---|
Time | 23 Sep(Mon) 19:00~22:00 | 25 Oct(Wed) 19:00~22:00 | 26 Oct(Thur) 19:00~22:00 |
Venue | Room 6580 (Lift 27/28) | Room 4582 (Lift 27/28) | Room 6580 (Lift 27/28) |
- Understand more concepts on C Programming and be able to implement more complicated logics
- Learn more about conventions and best practices in programming
First of all, we will make sure that you can flash code into our board using STM32CubeIDE:
Please review the CubeIDE installation method on
We will start reviewing variables and operator, then emphasizing control flow
Materials to Introduce in Tutorial 1:
Concepts that are less important but are still worth a quick read before moving on to the next part are marked with
*
- 08) Array and String
- 09) Functions
- 10) Structs and Enums
- 11) Multi File Programming (This part is important to understand how workspaces with multiple files works, which is common in robot programming)
We will discuss a bit of this material if we have time:
Other than those, there are a few more features that we wish you can explore by yourself further...
We will have 5 classworks to check your understanding on the materials. They will be linked to after we have finished discussing sufficient material on the topic of the classwork.
However, for a quick link to all of them:
- Classwork 1: Matrix Addition -- Arrays
- Classwork 2: First Word -- String
- Classwork 3: Area of a Circle -- Functions
- Classwork 4: Greyscale Image -- Struct
- Classwork 5: Mean Median Min Max -- Separate Compilation
Please submit these homeworks before 4 Oct 2024 (Fri) 18:00
It is a bonus. So, it is optional to do.
Submission Method: Github Classroom
Please first accept the assignment on Github Classroom: https://classroom.github.com/a/P863CrLD and the click the link to your working repository. Details of the submission will later be given there (note that the picture below is just for your reference, it is not your workspace link and the due date is wrong).
You can see the submission guidelines on the README shown below the file list. (i know the format below is broken but i decided to ignore it)