MakerLab创客实验室 — Let's Make something.
现在注册
已注册用户请 登入
6 回复
Andy medium avatar
#1 - 2 年前
Andy

什么错误?错误信息发上来。

kkkk8888 medium avatar
#2 - 2 年前
kkkk8888

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

kkkk8888 medium avatar
#3 - 2 年前
kkkk8888

。。。。就会出错。。。STM32F的

kkkk8888 medium avatar
#4 - 2 年前
kkkk8888

选Wire的任何利子都出错。。。用不了

Andy medium avatar
#5 - 2 年前
Andy

@kkkk8888 哦。现在的Wire库还有问题,暂时用不了。抱歉。

Andy medium avatar
#6 - 2 年前
Andy

我们会尽快发布可用的版本