void ecrobot_device_initialize() { // Inicializar los sensores activos ecrobot_init_sonar_sensor(SENSOR_ULTRASONIDOS); ecrobot_init_bt_master(bd_addr,"STR"); //inicializa el esclavo }
void ecrobot_device_initialize() { const U8 slaveAddr[7] = {BT_SLAVE_ADDRESS}; ecrobot_init_bt_master(slaveAddr,"YASA"); }