CHAPTER 13Emulator Components

In this chapter, you will learn all about emulator components. I'll teach you how to use and configure the built-in emulator components, extend existing components, and write custom components from scratch for all the various hardware components described in Chapter 5.

GPIO Ports

This section describes how to simulate GPIO ports. GPIO ports are represented in the emulator by the Microsoft.SPOT.Emulator.Gpio.GpioPort emulator component. The GpioPortSampleEmulator project provides a complete emulator with GPIO ports, and you can find it in this chapter's directory.

For a GPIO port component, the Pin, ModesAllowed, and ModesExpected properties can be configured with the configuration file. ModesAllowed indicates whether ...

Get Expert .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.