I am running this code in the atom ide and it works (blinks) …
#include <Arduino.h>
void setup() {
Serial.begin(115200);
Serial.println("Starting ...");
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
}
void loop() {
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this is because
// it is acive low on the ESP-01)
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED off by making the voltage HIGH
delay(2000); // Wait for two seconds (to demonstrate the active low LED)
}
But where can I see the serial monitor output? A window shows the build and the upload to the board but then the window disappears.
Atom 1.12.7
board: D1 mini
apm 1.12.9
npm 3.10.5
node 4.4.5
python 2.7.6
git 1.9.1
Ubuntu 14.04 trusty
Open the serial monitor and then upload. It should temporarily disappear while the upload is in progress. Post a successful upload the serial monitor should automatically open the connection with the previous settings.
I am guessing that the behaviour you are reporting is more to do with atom IDE rather than platformio??
Did you install the platformio IDE clean or platformio addon on top of atom???
I would try to see if removing the .platformio folder under the users folder might do something. Or the .atom folder.
Unfortunately you will also lose any persistent settings you might have customized. I would just move the folders in question to another location and check if the behaviour still persists.
I love atom and have been using since before 1.0. However, the pio ide seems too complex for me. Can I just use pio on the command-line? Where is this documented?
When I first found the platformio website I saw the atom ide and jumped right to it since I use atom for all my editing. I skipped right over the obvious.