MakerLab创客实验室 — Let's Make something.
现在注册
已注册用户请 登入
关注kkkk8888的人 (1)
zhangyong418 mini avatar
MakerLab创客实验室 — Let's Make something.
现在注册
已注册用户请 登入
kkkk8888 large avatar

kkkk8888

MakerLab创客实验室 第 90 号会员, 加入于 2014-04-21 17:25:19 PM
kkkk8888 收藏的学习
kkkk8888 收藏的话题
kkkk8888 最近创建的学习教程
kkkk8888 最近创建的话题
#include <Wire.h>..就用不了。。。出错
入门   •   5 年前   •   最后回复来自 Andy
6
kkkk8888 最近的回复
5 年前
回复了 kkkk8888 创建的话题 #include <Wire.h>..就用不了。。。出错
选Wire的任何利子都出错。。。用不了
5 年前
回复了 kkkk8888 创建的话题 #include <Wire.h>..就用不了。。。出错
用<Wire.h>。。。。就会出错。。。STM32F的
5 年前
回复了 kkkk8888 创建的话题 #include <Wire.h>..就用不了。。。出错

C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp: In member function 'void TwoWire::begin()':
C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp:129: error: 'I2C_InitStructure' was not declared in this scope
C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp: In member function 'void TwoWire::begin(uint8_t)':
C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp:161: error: 'I2C_InitStructure' was not declared in this scope
C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp: In member function 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)':
C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp:191: error: 'EVENT_TIMEOUT' was not declared in this scope
C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp: In member function 'uint8_t TwoWire::endTransmission(uint8_t)':
C:\Documents and Settings\Administrator\桌面\STM32F\arduino-1.5.5\hardware\arduino\stm32\libraries\Wire\Wire.cpp:350: error: 'txBufferIndex' was not declared in this scope