Faster i2c


hi
i trying change i2c clock speed following instructions in past topic here:
http://forum.arduino.cc/index.php?topic=16793.0
as instructed, have changed twi.h file, found in:
..\arduino-1.5.2\hardware\arduino\avr\libraries\wire\utility
i changed definition line from:
code: [select]
#define twi_freq 100000l

to
code: [select]
#define twi_freq 400000l

however can't find wire.o delete. saw in other forums there no more need deleting .o files. in case measure i2c clock speed using scope , doesn't change initial value of 10usec.
any  suggestions?
10x
gil


check i2c scanner - http://forum.arduino.cc/index.php?topic=197360.0 -

you can adjust twbr within sketch, easiest way , can use every ic on max speed.



Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Faster i2c


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support