/Designs/Tools/i2c_AVR_USB/SW/testapp/PC/i2c_usb.c
301,17 → 301,14
}
#endif
 
printf("writing to adapter");
i2c_tiny_usb_write(0,0,0);
 
/* do some testing */
printf("Getting adapter functionalities");
printf("Getting adapter functionalities\n");
i2c_tiny_usb_get_func();
 
/* try to set i2c clock to 100kHz (10us), will actually result in ~50kHz */
/* since the software generated i2c clock isn't too exact. in fact setting */
/* it to 10us doesn't do anything at all since this already is the default */
printf("Reseting I2C clock to 100 kHz");
printf("Reseting I2C clock to 100 kHz\n");
i2c_tiny_usb_set(CMD_SET_DELAY, 10);
 
/* -------- begin of ds1621 client processing --------- */