{{indexmenu_n>3}}
====== Laboratory Exercises ======
Attendance is mandatory. Laboratory exercise mainly servers to acquire practical experience of the programming skills.
The results of partial tasks are available in the upload system: https://cw.felk.cvut.cz/upload/.
The aim of the exercise is to apply the constructs explained in lectures at an example, which is derived from daily-used applications. The C language is used in an embedded system for software developmnet for applications that require fast access to the hardware (controller, data collection). In the exercises, students shall create a system coposed from embedded device and a PC which is capable to sucessfuly exchnage data via serial interface. The objective is to implement a software platform for NUCLEO board and for Linux (text mode). Both applications will communicate through a serial interface which is integral part of the STlink 2.1 debug interface. The NUCLEO implementation will use a state machine to maintain the communication and the PC based app (Linux OS) will use multithreaded approach. The aim of the exercise is to implement a system currently used to connect external hardware (various bus analyzers, cash registers in stores) with a graphical terminal (PC: Windows, Linux, Tablet: Android, MAC OS).
The designed device will allow to:
* Control the state of the LED light
* Read the state of the USER button
* Read the state of the analogue joystick
* Draw on the display - basic commands - set position, line
* Read the state of the touchpad
==== Exercises at glance ====
^ #TWeek ^ Week ^ Wednesday \\ 11:00-12:30 \\ KN:E-331 ^
|#1 | 40. | **25.09. and 02.10.** - [[courses:be5b99cpl:labs:lab01]] |
|#2 | 41. | **09.10.** - [[courses:be5b99cpl:labs:lab02]] |
|#3 | 42. | **16.10.** - [[courses:be5b99cpl:labs:lab03]] |
|#4 | 43. | **23.10.** - [[courses:be5b99cpl:labs:lab04]] |
|#5 | 44. | **30.10.** - [[courses:be5b99cpl:labs:lab05]] |
|#6 | 45. | 06.11. - [[courses:be5b99cpl:labs:lab06]] |
|#7 | 46. | 15.11. - [[courses:be5b99cpl:labs:lab07]] |
|#8 | 47. | 15.11. - [[courses:be5b99cpl:labs:lab08]] |
|#9 | 48. | 04.12. - [[courses:be5b99cpl:labs:lab09]] |
|#10 | 49. | 45.12. - [[courses:be5b99cpl:labs:lab10]] |
|#11 | 50. | 11.12. - [[courses:be5b99cpl:labs:lab11]] |
|#12 | 51. | 18.12. - [[courses:be5b99cpl:labs:lab12]] |
| | 52. | //Winter holidays// |
|#13 | 01. | 19.12. - New Year |
|#14 | 02. | 08.01. - [[courses:be5b99cpl:labs:lab13]] Homeworks evaluation |
| **14.01.** - **Ungraded Assessment Deadline!** |||