A Better Arduino IDE - Getting Started with PlatformIO

preview_player
Показать описание
PlatformIO - A plugin for the famous code editor Atom is a great alternative to the Arduino IDE that supports many nice features like code completion plugins and themes!

This is a short introduction to PlatformIO and a complete installation guide.

Happy Hacking!
Рекомендации по теме
Комментарии
Автор

Please keep in mind that this video is already 7 months old. PlatformIO is really pushing its development forward. (Which is a great thing!)
But since the upload of this video, there might be a few slight changes to PIO.
Most of the stuff should still be the same. But if you get stuck somewhere simply leave a comment.

Thanks! :)

RobinReiter
Автор

This is sooo needed over arduino IDE. Arduino IDE is missing so many key features that Atom provides :D

Kazooie
Автор

Everytime I install PlatformIO, Atom freezes and gives me a not responding message. What gives?

Vukuzenzele
Автор

I tried Atom when when I saw you used it in a previous videos. Thanks for the walk through. Very helpful! I would like to see more videos about this. I did have some issues initially as I first installed Atom on my work computer and the firewall wouldn't let me install any packages. This wasn't an issue on my home machines. Still getting a feel for it.

jonvannatto
Автор

This is a great tip, thank you! I HATE the Arduino IDE.

jRt
Автор

How does this work when using external arduino librarys? Will i be able to open code previously made in the arduino IDE in platform io?

kevinpreller
Автор

urgh, i love atom ai and never thought i could use it as arduino ide replacement. But on ubuntu and windows arduino ide does not want to get my esp32 working and i would love to give platformio a try. BUT it does not clear the last setup stage. i got the latest python version installed (python 3.10) and it does not accept the python folder ... any ideas?

KasimirvonFinck
Автор

All the #include lines, are these libraries and do I need to download them to a particular folder first?

Isambardify
Автор

day 2, I am becoming more frustrated. I cannot open the serial port. says that I the software I am using is not installed.
sounds like the silliest thing that the software that is not installed has
and worst than microsoft, it offers no help to install what is needed. very frustrating that this stuff has so many dead ends.

dave-in-nj
Автор

Short and great intro for beginners.
Thanks for this overview!
Thumbs up!

AlexCio
Автор

ho no i am on GNU/Linux and don't know how to install the package, atom get stuck on message error "reticulating spline" maybe i need to download more ram ?

Creuilcreuil
Автор

05:10 - 05:20


Nothing happens when I save =(

poenze
Автор

Heard so much about platform.io but never really thought about using it. This convinced me to try it out :D

KidCe.
Автор

i need help with a project i'm working on, i am making a digital dice to play catan with, the problem is that i can't get it so that it rolls the dice once i press the select button on the LCD keypad shield and then checks the current button state the code is: #include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
#include <DFR_LCD_Keypad.h>
#define btnSELECT 4
int adc_key_in;
int btnNONE;
int diceOne;
int diceTwo;
const int select = 720;
const int threshold = 2; //Put threshold value here

int read_LCD_buttons()
{
adc_key_in = analogRead(A0); // read the value from the sensor
if (adc_key_in > select - threshold && adc_key_in < select + threshold) return btnSELECT;

//if else statements could be used, but since each statement uses return, you don't lose speed for using all if's

return btnNONE; // when all others fail, return this...
}//end read_LCD_Buttons

set (sensorValue0, 720);

void setup() {
lcd.begin(16, 2);
lcd.setCursor(1, 0);
lcd.print("Roll the dice!");
}

lcd_key = read_LCD_buttons(); // read the buttons

void set (int sensorValue, int value)
{
if (sensorValue > value)
{
diceOne = random(1, 7);
diceTwo = random(1, 7);
}
case (diceOne + diceTwo == 7); {
lcd.clear();
lcd.setCursor(7, 0);
lcd.print("7");
lcd.setCursor(3, 1);
lcd.print("The pirate");

case (diceOne + diceTwo == 5, 4, 3, 2, 6 ); {
lcd.clear();
lcd.setCursor(7, 0);
lcd.print("5, 4, 3, 2, 6");
}
}
and i keep getting Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

sketch_jun19a:23: error: expected constructor, destructor, or type conversion before '(' token

set (sensorValue0, 720);

^

sketch_jun19a:31: error: 'lcd_key' does not name a type

lcd_key = read_LCD_buttons(); // read the buttons

^

exit status 1
expected constructor, destructor, or type conversion before '(' token

taranagnew
Автор

What was the shortcut to open autocomplete without typing the first letter?
(Windows)

RegsterU
Автор

I am doing this in VScode so will this tutorial be same for that too?

yashesvi-raina
Автор

I cant get Clang to even be recognised let alone download it. I have Mojave on my MAC..any ideas?...couldnt really find any solutions as it seems to be the OS

SimjetAU
Автор

Please, What is the language used in Arduino programming?

mohamedanbaj
Автор

if i install new boards using ide can i progame the new boards with atom/platformIO?

taranagnew
Автор

Hey Robin,
musstest du den dunklen Skin von PlatformIO in Atom aktivieren, oder ging das automatisch ?
Ich nutze VS Code, und hier wird die PlatformIO IDE in weiß auf einem dunklen VS Code angezeigt... :(

chrizbeee