Change COM port during program execution.
in
Core Library Questions
•
2 years ago
Hi, Just new to this forum as I was told my query might be best answered here, Id like to implement some sort of COM port changing within my program.
My friends computer has his arduino on COM4, if I start my program on his comp no data will come through as my processing app is looking for COM3, id like to change the com port to suit my friends computer without having to recompile and change COM3 to COM4 within the processing IDE. All id like to do is take my app to his house, run the exe select the com port then the data will come through. How could I go about this in processing?
Regards
DirtGambit
1