简体   繁体   中英

Arduino program with C++ Visual studio Community 2013

I have a school a project where I should create C++/CLI application with Visual Studio Community 2013, and this App uses an Arduino MEGA 2560 connected to a couple of pressure sensors. I installed Visual Micro to Visual Studio, and I tried to run the Sample "Blink" program, but I have this problem:

在此处输入图片说明

Questions:

  • How to solve this issue
  • How can I communicate with the board from a C++/CLI interface
  • I didn't find good resources concerning arduino programming using Visual Studio, if there's any, I'd appreciate it.

The problem was caused because you ticked "Tools>Visual Micro>Upload using programmer". The option relates to special hardware that you can purchase.

Un-tick the option for normal usb upload which does not require additional hardware. Read more here .

With the option ticked this is the same as using "File>Upload using programmer" in the Arduino ide

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM