March 2016
Beginner to intermediate
296 pages
6h 34m
English
To further illustrate how to use the features of CMSIS-RTOS that we've introduced in this chapter, we'll return to the Pong program that we first introduced in Chapter 2, C Language Programming. We'll call this recipe: RTOS_Pong_v8v0. Due to space limitations, we're only showing those parts of the code that are relevant to the RTOS implementation. Refer to Chapter 2, C Language Programming for details of helper functions defined in the pong_utils.c file.
To create a multithreaded pong game, follow the steps given:
RTOS_Pong. Set the RTE to include board support for the ADC and GLCD. Include CMSIS-RTOS.RTOS_Pong.c and add a task to handle ...Read now
Unlock full access