0基础的新手求助,这个是什么意思啊?-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5132|回复: 8

[已解决] 0基础的新手求助,这个是什么意思啊?

[复制链接]
发表于 2013-9-11 21:51 | 显示全部楼层 |阅读模式

QQ图片20130911214328.jpg
Blink.cpp:10:21: error: Arduino.h: No such file or directory
Blink.cpp: In function 'void setup()':
Blink:14: error: 'OUTPUT' was not declared in this scope
Blink:14: error: 'pinMode' was not declared in this scope
Blink.cpp: In function 'void loop()':
Blink:19: error: 'HIGH' was not declared in this scope
Blink:19: error: 'digitalWrite' was not declared in this scope
Blink:20: error: 'delay' was not declared in this scope
Blink:21: error: 'LOW' was not declared in this scope
Error repainting line range {0,14}:
java.lang.StringIndexOutOfBoundsException: String index out of range: -364
at java.lang.String.<init>(String.java:207)
at javax.swing.text.Segment.toString(Segment.java:102)
at processing.app.syntax.SyntaxUtilities.drawTabbedCommentsText(SyntaxUtilities.java:206)
at processing.app.syntax.SyntaxUtilities.paintSyntaxLine(SyntaxUtilities.java:155)
at processing.app.syntax.TextAreaPainter.paintSyntaxLine(TextAreaPainter.java:647)
at processing.app.syntax.TextAreaPainter.paintLine(TextAreaPainter.java:606)
at processing.app.syntax.TextAreaPainter.paint(TextAreaPainter.java:415)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278)
at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
发表于 2013-9-11 21:59 | 显示全部楼层
这是哪里下的arduino?不会是自己编译的吧?
 楼主| 发表于 2013-9-11 22:17 | 显示全部楼层
奈何col 发表于 2013-9-11 21:59
这是哪里下的arduino?不会是自己编译的吧?

买板的那个老板发的
 楼主| 发表于 2013-9-11 22:21 | 显示全部楼层
奈何col 发表于 2013-9-11 21:59
这是哪里下的arduino?不会是自己编译的吧?

请问,能提供平台连接给我吗?用的是UNO R3,现在感觉无从下手。。。
发表于 2013-9-11 22:48 | 显示全部楼层
 楼主| 发表于 2013-9-12 00:38 | 显示全部楼层
奈何col 发表于 2013-9-11 22:48
http://arduino.cc/en/Main/Software

谢谢了............
发表于 2013-9-12 11:38 | 显示全部楼层
没接开发板吧
发表于 2013-9-12 12:40 | 显示全部楼层
编译错,还未到板
发表于 2013-9-16 15:00 | 显示全部楼层
代码没问题啊!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-12-3 07:33 , Processed in 0.078231 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表