Tobis Programm forked to not destroy your golden files
Fork of Robocode by
Diff: source/Robot.cpp
- Revision:
- 44:7118b23b0fd7
- Parent:
- 38:3526c36e4c73
--- a/source/Robot.cpp Mon Apr 10 14:52:23 2017 +0000 +++ b/source/Robot.cpp Tue Apr 11 14:13:37 2017 +0000 @@ -194,10 +194,12 @@ // Servo I2C -void set_servo_position(int servo, char data){ +void set_servo_position(int servo, uint16_t data){ i2c.write((0x40), &data, 2); } +void init_i2c() + void enable_servos(){ Servo_enable = 1; }