nathandunk / BetterSerialPlotter

A drop-in replacement for the arduino serial plotter
MIT License
177 stars 27 forks source link

Suggestion - Allow temporary release of the com port #3

Closed atuline closed 2 years ago

atuline commented 2 years ago

Well, this is awesome, and I'll stop using the Arduino IDE for serial monitoring/plotting.

Am wondering if it's possible to temporarily release the com port, so I don't have to exit and restart 'Better Serial Plotter' each time I re-compile/upload to my board of choice.

nathandunk commented 2 years ago

Yeah, that should probably be there, so I will make this change. I normally run on Windows, in which there are normally several extra non-Arduino com ports available. I click on one of those, reupload, and then click back on the correct one. But now that you mention it, I realize that it doesn't work as well on mac/Linux because the ports are usually only taken by connected devices. @atuline, what OS are you using it on, just out of curiosity?

atuline commented 2 years ago

Hi Nathan,

I just run Windows 10, and the Arduino com port is the only one that shows up. I guess I could plug in another and switch back and forth. Either way, the app looks very cool and blows the one in the IDE out of the water. Great job!!

Oh, and I use this for development of FastLED and WLED animation routines.

nathandunk commented 2 years ago

In this release, I added a Close Comport button on the top row to suspend the connection. You can connect again by re-selecting the desired port in the Serial Port dropdown menu.

I am so glad that you are liking the app! How did you find it by the way? I mainly made it for my own use because I hated the arduino IDE's plotter and wanted something that just works, but with some extra features.

I'm glad it is working will for you for FastLED purposes. I was actually using it with the neoPixel Library to react to audio input and found it really useful to be able to use several different plots to display different aspects of my program (1 plot for audio input, another for user adjustable parameters, and another for RGB outputs). Are you doing something similar?

Let me know if you have any more requests/suggestions! I am not aware of anyone else using it, so I haven't thought about making any improvements recently. I know that the program tends to crash every now and then when opening complicated config files, and I am planning on looking into why that is the case.

atuline commented 2 years ago

I found it via a WLED acquaintance, as I'm quite involved with sound reactivity. My github has several related repositories, most notably a sound reactive fork of WLED that's quite popular. It includes support for FFT, 2D matrices, and one of the contributors is working on an interpreter for it.

Anyways, I'm going to be passing it around the WLED Discord and Reddit forum as well as the FastLED Reddit forum. Hope you don't mind.

Oh, and thanks for the update!

pipe01 commented 1 year ago

Just downloaded the app on linux and it works great (other than semi-frequent crashing haha). Could you release this version on linux, though? This seems very useful for development.