Ejemplo n.º 1
0
Archivo: main.c Proyecto: twm/VTMotor
inline void configure()
{
    // Initialize SMBus
    SMBusInit();
    SMBEnable();

    conf_TMR0();
    conf_motors();

    SREG |= _BV(7); /* Enable interrupts */
}
Ejemplo n.º 2
0
inline void configure()
{
	uint8_t addr = GetAddr();
  // Initialize SMBus
   SMBusInit(addr);
  SMBEnable();

  conf_TMR0();
  conf_motors();

  SREG |= _BV(7); /* Enable interrupts */
}