Building Device Software Components

The .NET Micro Framework provides device drivers for many hardware components. These sit between your software and the physical interfaces that allow a program to interact with the outside world. We already discovered how to use some of these in Chapter 4. In this section, we will go into a little more detail and illustrate how you can create a message-based component and then use it in a situation where the program polls the data source.

An Embedded, Event-Driven Software Component

The basis of this work is an event-driven Global Positioning System (GPS) decoder. You could use it to make a flashlight that is location-aware and can record where and when it was last used.

The resources provided on the companion ...

Get Embedded Programming with the Microsoft® .NET Micro Framework 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.