ICP DAS USA I-8411 User Manual page 106

I-8000 series for c language
Hide thumbs Also See for I-8411:
Table of Contents

Advertisement

For example, the following code can be used to read the main time ticks from 0.
#include <stdio.h>
#include "8000E.h"
void main(void)
{
Unsigned long time iTime;
InitLib();
/* Initiate the 8000E library */
TimerOpen();
While(!quit)
{
If(Kbhit())
TimerResetValue();
iTime=TimerReadValue();
}
TimerClose();
/* Stop using the I-8000 timer function */
}
I-8000 Series (C Language Based) User Manual, Version 1.0.1
Copyright © 2012 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
/* Reset the main time ticks to 0 */
/* Read the main time ticks from 0 */
Page: 106

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-8811I-8431-80I-8831-80I-8431I-8831

Table of Contents