johnsonzzd 发表于 2012-10-15 14:51:15

arduino for visual studio很好用

本帖最后由 johnsonzzd 于 2012-10-15 14:54 编辑

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

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

wasdpkj 发表于 2012-10-15 19:24:11

标记;P虽然现在不会用;P

yzh19930401 发表于 2012-10-16 13:48:58

请教如何用vs2010读出串口数据并绘成图像的?

yzh19930401 发表于 2012-10-16 14:19:26

楼主可否给个使用教程并把安装包给个,校园网上不了外文网。

johnsonzzd 发表于 2012-10-16 15:08:31

教程都是英文的,youtube上有教学视频。版主发过一个使用说明。串口绘图可以用serialchart。visualmicro已经把调试工具发给我了,设置断点比较简单。但是绘图需要会.net编程,我还在摸索中。哪位感兴趣的可以去注册要一个调试工具回来研究一下。教程说只要是开源的.net图表控件都可以用。

johnsonzzd 发表于 2012-10-16 16:46:07

本帖最后由 johnsonzzd 于 2012-10-16 17:09 编辑

编程插件,免费
http://player.youku.com/player.php/sid/XNDYyNjg2NjMy/v.swf

调试工具,暂时可以免费申请
http://player.youku.com/player.php/sid/XNDYyNjQzMDYw/v.swf

yzh19930401 发表于 2012-10-16 18:04:26

但是我用serialchart每次都提示串口打开错误,我都无语了。

hh515 发表于 2012-10-18 13:03:47

我试过了,但是有以下几个问题,希望高手解答:
1. 函数 highlight: 比如Serial.print 黑色的,不容易分辨。
2. 所有库基本都报错,有没有遇到这样的问题?

highplay86 发表于 2012-10-18 17:22:24

貌似很强大啊...

johnsonzzd 发表于 2012-10-18 21:06:43

hh515 发表于 2012-10-18 13:03 static/image/common/back.gif
我试过了,但是有以下几个问题,希望高手解答:
1. 函数 highlight: 比如Serial.print 黑色的,不容易 ...

语法高亮:
http://www.visualmicro.com/post/2011/10/09/How-to-fix-Arduino-code-color-coding-fails-in-Visual-Studio-when-a-file-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/2011/10/27/How-to-add-an-Arduino-library-using-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

hh515 发表于 2012-10-19 09:40:14

谢谢回复,第一个问题已经解决。
第二个问题: 是部分库不能使用

如:EEPROM 这个库使用没有问题
(lib)LCD8448ADXL345 Wire 就报错,试试吧,望解决

topdog 发表于 2014-6-21 23:59:59

有没有激活码。

ranqingfa 发表于 2014-6-22 09:19:05

avr 的studio 6也是这个界面,就是vs的界面,而且支持Arduino插件,不过我没有使用过,但是vs使用起来超赞,除了有点大

天天向上/tp 发表于 2015-11-26 21:22:33

请教一个arduino自带关键字高亮的问题
我会用的vs2013,按照http://www.visualmicro.com/post/2011/10/09/How-to-fix-Arduino-code-color-coding-fails-in-Visual-Studio-when-a-file-first-opens.aspx重新安装了,还是没办法高亮,搞不懂哪里错了??

天天向上/tp 发表于 2015-11-26 22:17:16

hh515 发表于 2012-10-19 09:40 static/image/common/back.gif
谢谢回复,第一个问题已经解决。
第二个问题: 是部分库不能使用



请问用VS2013作为编译器 ,怎么让arduino的关键字高亮?
你是怎么搞定的??
页: [1] 2
查看完整版本: arduino for visual studio很好用