极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 44666|回复: 18

arduino for visual studio很好用

[复制链接]
发表于 2012-10-15 14:51:15 | 显示全部楼层 |阅读模式
本帖最后由 johnsonzzd 于 2012-10-15 14:54 编辑

http://www.visualmicro.com/
前面已经有几个哥们发过帖子了,这个东西确实很好用。配置起来比Eclipse简单,傻瓜型的,上手非常快。
花了半个小时就搞定了。下面是SS495线性霍尔的测试

不过老外还有一个买40刀的调试工具,很强大。说是年底前可以免费发放,大家可以去试试看。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复

使用道具 举报

发表于 2012-10-15 19:24:11 | 显示全部楼层
标记虽然现在不会用
回复 支持 反对

使用道具 举报

发表于 2012-10-16 13:48:58 | 显示全部楼层
请教如何用vs2010读出串口数据并绘成图像的?
回复 支持 反对

使用道具 举报

发表于 2012-10-16 14:19:26 | 显示全部楼层
楼主可否给个使用教程并把安装包给个,校园网上不了外文网。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-10-16 15:08:31 | 显示全部楼层
教程都是英文的,youtube上有教学视频。版主发过一个使用说明。串口绘图可以用serialchart。visualmicro已经把调试工具发给我了,设置断点比较简单。但是绘图需要会.net编程,我还在摸索中。哪位感兴趣的可以去注册要一个调试工具回来研究一下。教程说只要是开源的.net图表控件都可以用。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-10-16 16:46:07 | 显示全部楼层
本帖最后由 johnsonzzd 于 2012-10-16 17:09 编辑

编程插件,免费


调试工具,暂时可以免费申请
回复 支持 反对

使用道具 举报

发表于 2012-10-16 18:04:26 | 显示全部楼层
但是我用serialchart每次都提示串口打开错误,我都无语了。
回复 支持 反对

使用道具 举报

发表于 2012-10-18 13:03:47 | 显示全部楼层
我试过了,但是有以下几个问题,希望高手解答:
  1. 函数 highlight: 比如  Serial.print 黑色的,不容易分辨。
  2. 所有库基本都报错,有没有遇到这样的问题?
回复 支持 反对

使用道具 举报

发表于 2012-10-18 17:22:24 | 显示全部楼层
貌似很强大啊...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-10-18 21:06:43 | 显示全部楼层
hh515 发表于 2012-10-18 13:03
我试过了,但是有以下几个问题,希望高手解答:
  1. 函数 highlight: 比如  Serial.print 黑色的,不容易 ...

语法高亮:
http://www.visualmicro.com/post/ ... le-first-opens.aspx
How to configure Arduino syntax "color coding" in Visual Studio
by Visual Micro 9. 十月 2011 06:41

Due to a VS bug 10.11+ versions require you to manually tell visual studio to color code your arduino code.

1. Open the Visual Studio Tools>Options

2. Navigate to Text Editor>File Extensions

3. Add the INO and PDE extensions setting the Editor to "Microsoft Visual C++" for each

4. Click OK and re-open any open sketch code files

This is what you should see once you have made the changes

Note: Users of versions earlier than 10.11 who encounter random color code failings should remove the extensions from the above list. Click OK and then re-add them as shown above


使用库:
http://www.visualmicro.com/post/ ... -Visual-Studio.aspx
How to add an Arduino library using Visual Studio
by Visual Micro 27. 十月 2011 05:46
Add an arduino Library using the project menu
The 2nd entry on the Project menu allows libraries to be added

When adding libraries the #includes are automatically added to the master .pde source.
You must click "Save" before the intellisense will detect the new libraries.

Optionally toggle the library sources in/out of the visual studio project using "Project>Show all Arduino files".
Including the actual library sources codes does not break the compiler but allows the libraries to be explored using the Visual Studio object browser
回复 支持 反对

使用道具 举报

发表于 2012-10-19 09:40:14 | 显示全部楼层
谢谢回复,第一个问题已经解决。
第二个问题: 是部分库不能使用

  如:EEPROM 这个库使用没有问题
  (lib)LCD8448  ADXL345 Wire 就报错,试试吧,望解决
回复 支持 反对

使用道具 举报

发表于 2014-6-21 23:59:59 | 显示全部楼层
有没有激活码。
回复 支持 反对

使用道具 举报

发表于 2014-6-22 09:19:05 | 显示全部楼层
avr 的studio 6也是这个界面,就是vs的界面,而且支持Arduino插件,不过我没有使用过,但是vs使用起来超赞,除了有点大
回复 支持 反对

使用道具 举报

发表于 2015-11-26 21:22:33 | 显示全部楼层
请教一个arduino自带关键字高亮的问题
我会用的vs2013,按照http://www.visualmicro.com/post/ ... le-first-opens.aspx重新安装了,还是没办法高亮,搞不懂哪里错了??

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2015-11-26 22:17:16 | 显示全部楼层
hh515 发表于 2012-10-19 09:40
谢谢回复,第一个问题已经解决。
第二个问题: 是部分库不能使用

请问用VS2013作为编译器 ,怎么让arduino的关键字高亮?
你是怎么搞定的??
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-9 16:45 , Processed in 0.059024 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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