Chapter 21

Time in different cities

Abstract

This is an example FreeRTOS-based multitasking system using the Clicker 2 for STM32 microcontroller development board together with the mikroC Pro for ARM compiler and the Integrated Development Environment. In this chapter, a multitasking clock project is described where the current time in one of 10 cities in different countries can be selected from the PC keyboard. The time in the selected city is then displayed on the LCD together with the name of the city. The user selects the city where the time is to be displayed from a menu displayed on the PC screen. This chapter describes how an accurate clock can be developed using the FreeRTOS application program interface (API) functions and also how the ...

Get ARM-Based Microcontroller Multitasking Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.