X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2Frobotsim.h;h=8246500a1b3078ed66616fab65a9cb43ef86e4ed;hp=8777de851ea1d503c320f0a7bd8566af2216aa53;hb=9d056416278ae5d772a0fc1f7d2d11a4461fb673;hpb=ebfaaedd491e61696cc93b353471be15408d23e4 diff --git a/projects/microb2010/mainboard/robotsim.h b/projects/microb2010/mainboard/robotsim.h index 8777de8..8246500 100644 --- a/projects/microb2010/mainboard/robotsim.h +++ b/projects/microb2010/mainboard/robotsim.h @@ -1,6 +1,6 @@ -/* +/* * Copyright Droids Corporation, Microb Technology, Eirbot (2005) - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -19,8 +19,10 @@ * */ +int8_t robotsim_i2c(uint8_t addr, uint8_t *buf, uint8_t size); void robotsim_update(void); void robotsim_pwm(void *arg, int32_t val); int32_t robotsim_encoder_get(void *arg); int robotsim_init(void); void robotsim_dump(void); +int8_t robotsim_i2c_cobboard_set_mode(uint8_t mode);