hybridgroup.gobot/platforms/digispark/littleWire_util.c

13 lines
174 B
C
Raw Normal View History

#include <littleWire_util.h>
/* Delay in miliseconds */
void delay(unsigned int duration)
{
#ifdef _WIN32
Sleep(duration);
#else
usleep(duration*1000);
#endif
}