mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-15 00:02:49 +03:00
@ -37,9 +37,9 @@ static unsigned char twi_sda, twi_scl;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if F_CPU == FCPU80
|
#if F_CPU == FCPU80
|
||||||
#define TWI_CLOCK_STRETCH 200
|
#define TWI_CLOCK_STRETCH 800
|
||||||
#else
|
#else
|
||||||
#define TWI_CLOCK_STRETCH 400
|
#define TWI_CLOCK_STRETCH 1600
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void twi_setClock(unsigned int freq){
|
void twi_setClock(unsigned int freq){
|
||||||
|
Reference in New Issue
Block a user