Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arduino/UWP Debugging via Bluetooth? (Read 2768 times)
reppiks
Newbies
*
Offline


Posts: 7
Location: USA
Joined: Sep 26th, 2015
Arduino/UWP Debugging via Bluetooth?
Sep 1st, 2018 at 12:26am
Print Post  
I am developing a UWP app that communicates with an Arduino Uno via bluetooth.  The Arduino sketch is Standard Firmata.  Software Serial does not seem to allow me to use TX/RX pins other than 0&1, hence I cannot use the USB serial monitor.  Is debugging of the Arduino sketch possible under these circumstances?  I wasn't successful in finding documentation for this scenario.  Perhaps someone could point me to the appropriate documentation location if debugging is possible under these circumstances.

Thanks!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino/UWP Debugging via Bluetooth?
Reply #1 - Sep 1st, 2018 at 1:13pm
Print Post  
Firmata is a special case and might conflict with this solution ...

There is a doc here for debug using alternative pins




  
Back to top
WWW  
IP Logged
 
reppiks
Newbies
*
Offline


Posts: 7
Location: USA
Joined: Sep 26th, 2015
Re: Arduino/UWP Debugging via Bluetooth?
Reply #2 - Sep 1st, 2018 at 7:47pm
Print Post  
Thanks, Tim. I guess I will experiment with a second USB port for debugging.
  
Back to top
 
IP Logged
 
Jose E Calderon
Newbies
*
Offline


Posts: 3
Location: Puerto Rico
Joined: Jul 29th, 2014
Re: Arduino/UWP Debugging via Bluetooth?
Reply #3 - Sep 18th, 2018 at 11:24am
Print Post  
reppiks wrote on Sep 1st, 2018 at 12:26am:
I am developing a UWP app that communicates with an Arduino Uno via bluetooth.  The Arduino sketch is Standard Firmata.  Software Serial does not seem to allow me to use TX/RX pins other than 0&1, hence I cannot use the USB serial monitor.  Is debugging of the Arduino sketch possible under these circumstances?  I wasn't successful in finding documentation for this scenario.  Perhaps someone could point me to the appropriate documentation location if debugging is possible under these circumstances.

Thanks!

Is your development in VS C++ in VS 2017?  Do you have a repo of this?
  
Back to top
IP Logged
 
reppiks
Newbies
*
Offline


Posts: 7
Location: USA
Joined: Sep 26th, 2015
Re: Arduino/UWP Debugging via Bluetooth?
Reply #4 - Sep 18th, 2018 at 4:57pm
Print Post  
No, I am using C# in VS 2017 for the UWP app,  C++ on the arduino side.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint