The current arduino development workflow in CLion with serial monitor looks like: 1. Make code changes 2. Upload firmware 3. Connect serial monitor 5. Test stuff you wrote 6. Disconnect serial monitor. Go to 1 The 3rd and 6th items are very annoying but necessary because serial monitor and firmware upload tool (avrdude) cannot use the port simultaneously (can they?). To start serial monitor: In CLion main window bottom left, click serial monitor tab (in 'the tool buttons') Click the wrench icon to set up port and baud rate. On the top of the wrench. Than upload code to Arduino. Click on Serial Monitor on the bottom of window setup port and push button upper option button in Serial Monitor window. I you done everything correctly you will see “Hi” message every 2 seconds and blink LED on arduino. This is the code just make LED blink and write to serial monitor Hi. On the top right corner.
The current arduino development workflow in CLion with serial monitor looks like:
- Make code changes
- Upload firmware
- Connect serial monitor
- Test stuff you wrote
- Disconnect serial monitor.
- Go to 1
The 3rd and 6th items are very annoying but necessary because serial monitor and firmware upload tool (avrdude) cannot use the port simultaneously (can they?). It would be good if those steps could be done automatically. However I'm not sure if it's can be done solely in serial monitor, probably it requires cooperation between serial monitor, CLion and platformio developers.