Книга: Advanced PIC Microcontroller Projects in C

Project Description

Project Description

This project is similar to Project 2, but here a pair of dice are used — as in many dice games such as backgammon — instead of a single dice.

The circuit shown in Figure 6.8 can be modified by adding another set of seven LEDs for the second dice. For example, the first set of LEDs can be driven from PORTC, the second set from PORTD, and the push-button switch can be connected to RB0 as before. Such a design requires fourteen output ports just for the LEDs. Later on we will see how the LEDs can be combined in order to reduce the input/output requirements. Figure 6.12 shows the block diagram of the project.


Figure 6.12: Block diagram of the project

Оглавление книги

Оглавление статьи/книги

Генерация: 0.045. Запросов К БД/Cache: 0 / 0
поделиться
Вверх Вниз