跳至主要內容

Getms


Getms

函数原型

char Getms();

功能

取系统时间的 tick 数

说明

1 tick = 1/256 秒,返回值的范围为 0~255

示例

void main()
{
    for (;;) {
        printf("\n%d", Getms());
        getchar();
    }
    getchar();
}