Is this a bug in Simple Library
Jarvan
Posts: 31
#include "simpletools.h" #include "mstimer.h" i2c *IQ_I2C; int main() { i2c_open(IQ_I2C,3,2,1); mstime_set(0); mstime_start(); printf("Start:"); while(mstime_get()<5000) { pause(500); printf("Time:%d\n",mstime_get()); } printf("Close."); }
the results shows below:
Start:
Time: 0
Time: 0
Time: 0
Time: 0
Time: 0
Time: 0
Time: 0
Comments
Thank you, problem solved.