• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Platform io terminal

Q&A Forum › Category: Other › Platform io terminal
0 Vote Up Vote Down
Alan Johnstone asked 4 years ago

I have more or less managed to ween myself off the Arduino ide and on to Platform io in VSCode except for using the terminal!
There are 2 things that I have not been able to alter/get around.
The first is that when I send a message using the terminal it seems to send it as I type rather than wait until I hit RETURN. This means that the ESP gets only part of the command. This is so annoying that I simply open an Arduino IDE and use its terminal.
The second problem is that if I use the terminal in Platform Io at all, even to simply recieve data I cannot seem to be able to close it properly. This means that when I try to upload a new version of the program to the ESP32, Platform io complains it cannot find the COMM port. The only solution I have found is to unplug the cable and plug it back in again.
Has anybody else come across these problems and found a solution?

Question Tags: Platform io trminal ESp32
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Alan.
 
I don’t use the Terminal much to send commands to the ESP32. 
 
There is a Recicle Bin icon to delete open Terminals on VS Code. Next to that icon, there is a drop down menu, where you can choose which terminal you want to close.
 
If there is a connection opened with the ESP32 using the Terminal, you won’t be able to upload the code because the port is already being used. You need to close that connection.
If after that, it cannot find the port, you can set the port on your platformio.ini file like this: https://docs.platformio.org/en/latest/projectconf/section_env_upload.html#upload-port
 
I hope this helps.
Regards,
Sara
 
 
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.