10/317
Table of Contents
9 A CARRIER-CURRENT SYSTEM FOR DOMESTIC REMOTE CONTROL . . . . . . . . . 249
9.1 CARRIER CURRENT CONTROL AND THE X-10 STANDARD . . . . . . . . . . . . . 250
9.2.3.1 The main program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
9.2.3.2 Timer A Capture interrupt service routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
9.2.3.3 The Timer B overflow interrupt service routine . . . . . . . . . . . . . . . . . . . . . . . . . .269
9.3.3.1 Interrupt functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
9.3.3.2 Main program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
10 SECOND APPLICATION: A SAILING COMPUTER . . . . . . . . . . . . . . . . . . . . . . . . . . 286
10.2 INTERFACING THE MEASUREMENT DEVICES . . . . . . . . . . . . . . . . . . . . . . . . 291
10.2.1.1 Interfacing the speedometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291
10.2.1.2 Interfacing the wind gauge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291
10.2.1.3 Using a common timer for both speed measurement devices . . . . . . . . . . . . . . .292
10.4 INTERFACING THE OPTIONAL PERSONAL COMPUTER . . . . . . . . . . . . . . . . 299
Содержание ST7 Series
Страница 1: ...ST7 8 BIT MCU FAMILY USER GUIDE JANUARY 1999 1 ...
Страница 238: ...238 317 8 C Language and the C Compiler 08 Burn bmp Then use the EPROMer programmer software as described in Chapter 7 ...
Страница 289: ...289 317 10 Second Application a Sailing Computer 10 befor Bs Rw Vw VMG AlphaR AlphaV Before the wind ...