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