abstract.txt

来自「keilc pic的版本 才搞到的 希望对大家有帮助」· 文本 代码 · 共 20 行

TXT
20
字号
Traffic is a program that controls a traffic light.

The traffic light is timed and lets cars pass during a
specific time period.  There is a pedestrial crossing
button that lets pedestrians cross.  The lights are
connected to Port 2.  You can see this in action using
dScope.

There are several things of interest here:

*  This program uses RTX Tiny.  Program initialization
   and operation code are in TRAFFIC.C.  Look for the
   init task to see where everything starts.

*  Serial I/O is interrupt and signal driven.  Look at
   SERIAL.C for the complete, encapsulated module (you
   may want to use this in your programs).

The TRAFFIC program is available in one target:
  SMALL Model:      C166 Small Memory Model for Simulation

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?