/**Delay in hundreds of milliseconds * \param hom value in hundreds of milliseconds */ void delay_hom(uint8_t hom) { do { uint8_t i = 10; do { _DELAY_US(10000); //10ms wdt_reset_timer(); }while(--i); }while(--hom); }
//************************************************************************* // i2cdelay // // This delay is approx us plus the function call delays // Should be close enough for I2C //************************************************************************* void i2cdelay(const unsigned long delay) { _DELAY_US(delay); //DelayUs(delay); // DelayMs(delay); //-- For Debug }