diff options
author | meyma <devnull@localhost> | 2007-02-22 15:27:02 +0100 |
---|---|---|
committer | meyma <devnull@localhost> | 2007-02-22 15:27:02 +0100 |
commit | dc8b1cde313f3f8a60462187bbeeea4277fd0313 (patch) | |
tree | 02c427d6089d7d9c9b10197ca527ff5d561d82f9 /source/Concept/Framework/robot.c | |
parent | d7ac8f546afb75bd2d626b5cc639939337560cf6 (diff) | |
download | rc2007-soccer-dc8b1cde313f3f8a60462187bbeeea4277fd0313.tar rc2007-soccer-dc8b1cde313f3f8a60462187bbeeea4277fd0313.zip |
Additional Codework on Distance_Sensor
Diffstat (limited to 'source/Concept/Framework/robot.c')
-rwxr-xr-x | source/Concept/Framework/robot.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/Concept/Framework/robot.c b/source/Concept/Framework/robot.c index 0e4e9ac..9985463 100755 --- a/source/Concept/Framework/robot.c +++ b/source/Concept/Framework/robot.c @@ -42,7 +42,10 @@ Robot::Robot() TCCR3B = (1<<ICNC3) | (1<<CS31); // set clock/prescaler 1/8 -> enable counter
//Activate interrupt
- sei();
+ sei(); + + // Initialiate TWI + Init_TWI();
//Interface
for(uint8 i = IO_START; i < IO_END; i++)
|