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

Project PDL

Project PDL

The PDL of this project is very simple and is given in Figure 6.4.

START
 Configure PORTC pins as output
 Initialize J = 1
 DO FOREVER
  Set PORTC = J
  Shift left J by 1 digit
  IF J = 0 THEN
   J = 1
  ENDIF
  Wait 1 second
 ENDDO
END


Figure 6.4: PDL of the project

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


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