Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
d-anders
@d-anders
thought i did yesterday
tzapu
@tzapu
anywya, i will play with it. thanks very much for your answers, much appreciated
Ivan Kravets
@ivankravets
@tzapu if we talk about PlatformIO 2.0 it install libs by default globally to http://docs.platformio.org/en/latest/projectconf.html#lib-dir
tzapu
@tzapu
ok, so couldn t i make that folder the same as arduino lob folder?
Ivan Kravets
@ivankravets
@tzapu but we are working on PlatformIO 3.0 and it will receive huge updates to Library Manager.
d-anders
@d-anders
trying now, chose "upgrade platformio" from the menu but it seems nothing is happening
tzapu
@tzapu
i assume i can also install manually for that folder, and it will pick the lib up?
Ivan Kravets
@ivankravets
@tzapu of course, just place you library in the lib folder of the project. See https://github.com/platformio/platformio/tree/develop/examples/atmelavr-and-arduino/arduino-external-libs
tzapu
@tzapu
ok, thank you , thank you :D
tzapu
@tzapu
i ve taken too much of your time already :D
thanks
Ivan Kravets
@ivankravets
@d-anders go to Menu: PlatformIO > Settings > platformio-ide and check that version is 1.1.0
d-anders
@d-anders
it is not
must go soon
will download later
Ivan Kravets
@ivankravets
@d-anders click on update button
d-anders
@d-anders
upgrading from the menu doesnt work for me, nothing happens
Ivan Kravets
@ivankravets
@d-anders there are two instances in PlatformIO IDE: 1. platformio-ide package for Atom; 2. PlatformIO CLI
@d-anders ok, click on Settings (gear) icon on tool bar and follow to Community Packages. Here you will see platformio-ide package
@d-anders PlatformIO IDE this is GUI around PlatformIO CLI. Of course, it has own built-in PlatformIO CLI version.
d-anders
@d-anders
thanks, updating now
d-anders
@d-anders
still doesnt show any tipss after i write dig
created a new project and added a source file with cpp extension
Ivan Kravets
@ivankravets
@d-anders do you have clang installed in your system? PlatformIO IDE uses it for code completion. See step 3 from http://docs.platformio.org/en/latest/ide/atom.html#installation
d-anders
@d-anders
yeah, but im not sure it is working :)
i will look into it
i get completion for "if, for" etc though
d-anders
@d-anders
installed clang and it started working. really thought i had installed it two days ago
d-anders
@d-anders
wow, platformio is sweet. time to ditch arduino ide
Michael Miller
@Makuna
How does it compare to Visual Studio Community?
d-anders
@d-anders
hm
different
i have been using visual studio since forever, so for me nothing compares to it
havent used it for arduino/esp8266 though
but platformio looks nice
integrated cli library manager
and working code completion
Michael Miller
@Makuna
There is a VS plugin for Arduino (free for prototypes) that gives you all that also. But I guess that's for Windows only.
d-anders
@d-anders
yeah i use windows
Michael Miller
@Makuna
Have you tried Visual Micro then?
d-anders
@d-anders
i think i tried that plugin a long time ago
ran into some problem, dont remember
Michael Miller
@Makuna
yeah, until they added Board and Library support (basically until Arduino IDE got board and Library support worked out) it was painful to wait for upgrades as it was broken from some Arduino IDE change.
d-anders
@d-anders
@ivankravets code completion works when i create a new project. when i import an old arduino project i cant quite get it to work even after renaming to .cpp
most of my esp8266/arduino projects are small anyway, so most important is for everything to just work, including libraries etc
Stavros Korokithakis
@skorokithakis
damn, these 3V3 regulators just don't want to stay cool with 9v input
Stavros Korokithakis
@skorokithakis
i have to ground gpio0 to flash, right?
Stavros Korokithakis
@skorokithakis
@martinayotte do you know offhand if you can PWM these H-bridges?
Michael Miller
@Makuna
@skorokithakis are they linear voltage regulators? That big difference for linears causes lots of heat.