Foreword |
|
ix | |
Acknowledgments |
|
xi | |
Introduction |
|
xii | |
|
Part I Getting to Know .NET Gadgeteer |
|
|
|
1 Introduction to .NET Gadgeteer |
|
|
3 | (12) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
Micro Framework and Gadgeteer |
|
|
4 | (1) |
|
|
5 | (1) |
|
|
6 | (1) |
|
|
6 | (1) |
|
|
7 | (1) |
|
|
8 | (1) |
|
Creating Gadgeteer Applications |
|
|
8 | (1) |
|
|
9 | (1) |
|
|
9 | (6) |
|
2 Software Development Environment |
|
|
15 | (26) |
|
Install Visual C# 2010 Express |
|
|
15 | (4) |
|
Install the .NET Micro Framework |
|
|
19 | (4) |
|
Install the Gadgeteer Core SDK |
|
|
23 | (3) |
|
|
26 | (1) |
|
Gadgeteer Mainboard and Module Project Templates |
|
|
26 | (2) |
|
Install Gadgeteer Mainboard and Modules SDK |
|
|
28 | (1) |
|
Tour of the Gadgeteer Development Environment |
|
|
28 | (11) |
|
|
39 | (2) |
|
3 Gadgeteer Sockets, Mainboards, and Modules |
|
|
41 | (18) |
|
|
42 | (3) |
|
|
45 | (2) |
|
|
47 | (1) |
|
|
48 | (1) |
|
DaisyLinkModule Base Class |
|
|
49 | (1) |
|
|
50 | (1) |
|
|
51 | (1) |
|
|
52 | (1) |
|
|
52 | (2) |
|
|
54 | (2) |
|
Gadgeteer Interfaces, Utilities, and Services |
|
|
56 | (1) |
|
|
56 | (1) |
|
|
56 | (2) |
|
|
58 | (1) |
|
4 Gadgeteer API Interfaces |
|
|
59 | (10) |
|
|
59 | (1) |
|
|
59 | (1) |
|
|
60 | (1) |
|
Digital Input, Output, and Input/Output |
|
|
61 | (1) |
|
|
61 | (1) |
|
|
61 | (1) |
|
Input/Output: DigitalIO Interface |
|
|
61 | (1) |
|
|
62 | (1) |
|
|
63 | (1) |
|
|
64 | (1) |
|
|
65 | (1) |
|
|
66 | (3) |
|
5 Gadgeteer Mainboards and Modules |
|
|
69 | (10) |
|
|
69 | (1) |
|
|
69 | (2) |
|
|
71 | (3) |
|
|
74 | (1) |
|
|
75 | (1) |
|
|
76 | (1) |
|
Ethernet, WiFi, and SD Cards |
|
|
76 | (1) |
|
|
76 | (1) |
|
|
77 | (1) |
|
|
77 | (2) |
|
6 Deploying and Debugging |
|
|
79 | (18) |
|
|
80 | (1) |
|
|
80 | (1) |
|
|
81 | (2) |
|
|
83 | (5) |
|
Deploying and Debugging with Visual Studio |
|
|
88 | (1) |
|
|
89 | (2) |
|
|
91 | (1) |
|
|
92 | (1) |
|
Single-Step Through Code and Move the Execution Point |
|
|
93 | (1) |
|
More Visual Studio Features |
|
|
93 | (4) |
|
|
|
7 Writing Gadgeteer Applications |
|
|
97 | (14) |
|
Sequential and Event-Driven Applications |
|
|
97 | (1) |
|
Sequential vs. Event-Driven Design Basics |
|
|
98 | (1) |
|
Adding Battery Power Savings |
|
|
98 | (2) |
|
Gadgeteer Application Flow |
|
|
100 | (1) |
|
The Gadgeteer Application Template |
|
|
100 | (2) |
|
|
102 | (2) |
|
Classes and Project Code Files |
|
|
104 | (3) |
|
Using Sequential Application Code |
|
|
107 | (3) |
|
|
110 | (1) |
|
8 Data Input and Output Projects |
|
|
111 | (30) |
|
Create an Empty Solution in Visual Studio Express |
|
|
111 | (5) |
|
SPI Display Module Using Project Resources |
|
|
116 | (1) |
|
|
117 | (4) |
|
I2C Accelerometer and Process Data Threads |
|
|
121 | (5) |
|
|
126 | (3) |
|
A Combined Module Project |
|
|
129 | (2) |
|
|
131 | (2) |
|
JoyInput Class with Event |
|
|
133 | (3) |
|
|
136 | (3) |
|
|
139 | (1) |
|
|
140 | (1) |
|
9 Serial Communications Projects |
|
|
141 | (18) |
|
Building a Serial Comms Project Using a Serial2USB Module |
|
|
141 | (1) |
|
|
142 | (5) |
|
Start and Debug the Application |
|
|
147 | (1) |
|
Start the Terminal Application |
|
|
148 | (3) |
|
Changing Serial Port Physical Settings |
|
|
151 | (3) |
|
Serial Message Data Handling |
|
|
154 | (5) |
|
10 SD Card and File Projects |
|
|
159 | (28) |
|
Mounting and Unmounting Removable Media |
|
|
159 | (1) |
|
|
160 | (2) |
|
|
162 | (1) |
|
Directory and File Handling |
|
|
163 | (1) |
|
Using the StorageDevice Class |
|
|
163 | (5) |
|
Save and Restore Setup Data Project |
|
|
168 | (1) |
|
Adding Classes to the Project |
|
|
169 | (4) |
|
|
173 | (3) |
|
Micro Framework Extended Weak References |
|
|
176 | (1) |
|
Text and CSV File Projects |
|
|
176 | (1) |
|
Simple Text Logger Project |
|
|
176 | (4) |
|
|
180 | (6) |
|
|
186 | (1) |
|
11 Ethernet and Web Device Projects |
|
|
187 | (28) |
|
|
188 | (1) |
|
Device Network Configuration |
|
|
189 | (3) |
|
|
192 | (13) |
|
|
205 | (1) |
|
|
205 | (5) |
|
|
210 | (1) |
|
Additional Micro Framework Network Support |
|
|
211 | (1) |
|
|
212 | (3) |
|
Part III Build Your Own .NET Gadgeteer Hardware |
|
|
|
12 Designing Gadgeteer Modules and Mainboards |
|
|
215 | (12) |
|
|
217 | (1) |
|
A Simple Custom Prototype Module |
|
|
217 | (1) |
|
Using the Module Project Template |
|
|
218 | (3) |
|
|
221 | (1) |
|
|
222 | (3) |
|
|
225 | (2) |
|
13 Turning Your Gadgeteer Prototype Into a Product |
|
|
227 | (4) |
|
Use Modules or Design a Custom Board |
|
|
227 | (2) |
|
|
229 | (2) |
|
A Gadgeteer and Micro Framework 4.2 |
|
|
231 | (4) |
|
Gadgeteer MF 4.1 and 4.2 Applications |
|
|
231 | (1) |
|
MF 4.3 and Visual Studio 2012 |
|
|
232 | (3) |
Index |
|
235 | |