Beispiel #1
0
inline void configure()
{
    // Initialize SMBus
    SMBusInit();
    SMBEnable();

    conf_TMR0();
    conf_motors();

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

  conf_TMR0();
  conf_motors();

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