9034| 6
|
[求助] (SKU:DFR0009)LCD Keypad Shield的例子程序在我的板子上不work |
我把LCD的例子程序,烧写到我的板子上,不work。然后用别人的笔记本,编译烧写到我的Edison板子上,可以work。 wiring_digital-error: digitalWrite: can't index pinState with pin 9 wiring_digital-error: digitalWrite: can't index pinState with pin 8 variant-error: turnOffPWM: unknown pin4 wiring_digital-error: pinMode: can't set mux for pin4 wiring_digital-error: digitalWrite: can't index pinState with pin 4 variant-error: turnOffPWM: unknown pin5 wiring_digital-error: pinMode: can't set mux for pin5 wiring_digital-error: digitalWrite: can't index pinState with pin 5 variant-error: turnOffPWM: unknown pin6 wiring_digital-error: pinMode: can't set mux for pin6 wiring_digital-error: digitalWrite: can't index pinState with pin 6 variant-error: turnOffPWM: unknown pin7 wiring_digital-error: pinMode: can't set mux for pin7 wiring_digital-error: digitalWrite: can't index pinState with pin 7 wiring_digital-error: digitalWrite: can't index pinState with pin 9 wiring_digital-error: digitalWrite: can't index pinState with pin 9 wiring_digital-error: digitalWrite: can't index pinState with pin 9 variant-error: turnOffPWM: unknown pin4 wiring_digital-error: pinMode: can't set mux for pin4 wiring_digital-error: digitalWrite: can't index pinState with pin 4 variant-error: turnOffPWM: unknown pin5 wiring_digital-error: pinMode: can't set mux for pin5 wiring_digital-error: digitalWrite: can't index pinState with pin 5 variant-error: turnOffPWM: unknown pin6 wiring_digital-error: pinMode: can't set mux for pin6 wiring_digital-error: digitalWrite: can't index pinState with pin 6 variant-error: turnOffPWM: unknown pin7 wiring_digital-error: pinMode: can't set mux for pin7 wiring_digital-error: digitalWrite: can't index pinState with pin 7 wiring_digital-error: digitalWrite: can't index pinState with pin 9 wiring_digital-error: digitalWrite: can't index pinState with pin 9 wiring_digital-error: digitalWrite: can't index pinState with pin 9 |
应该是Arduino IDE的问题, 可以尝试重新安装一下: http://www.intel.com/support/edison/sb/CS-035180.htm 另外Edison的固件也有更新过, 可以尝试跟着这个教程更新一下 http://www.intel.com/support/edison/sb/CS-035286.htm |
奇葩的问题还真是奇葩的解决了 问题出在: Arduino IDE,编译出问题。 我的Arduino IDE 是 arduino-1.6.0+Intel 换成arduino-1.5.3-Intel.1.0.4,就O了,真奇葩。 |
本帖最后由 Angelo 于 2015-5-21 14:33 编辑 hellovictoria 发表于 2015-4-16 15:55 Edison 1.6.0 里面存在一个问题, LiquidCrystal这个类在构造函数里面调用了pinMode()函数,但此时 pinMode()函数还无法使用, 因此我们需要手动在 Setup 里面添加pinMode(), 让引脚变为输出模式 void LiquidCrystal::init(uint8_t fourbitmode, uint8_t rs, uint8_t rw, uint8_t enable,
|
Angelo 发表于 2015-5-21 14:31 我测试了下,是这样子的。强! |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed