New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP-12E (nodeMCU) support? #310

Closed
gz-technology opened this Issue Oct 20, 2015 · 9 comments

Comments

Projects
None yet
3 participants
@gz-technology

gz-technology commented Oct 20, 2015

Hi
Any chance for nodeMCU support please?
Thank you

@ivankravets

This comment has been minimized.

Member

ivankravets commented Oct 20, 2015

@ivankravets ivankravets self-assigned this Oct 20, 2015

@gz-technology

This comment has been minimized.

gz-technology commented Oct 20, 2015

Hello
Thank you for prompt answer.
I use Atom with platform on Mac. Does it mean that I can use -board esp01 for nodeMCU?
I’m a bit confused. That what I have tried but got some issues. The same code worked fine via Arduino IDE.
Thank you
Best
Grzegorz

On 20 Oct 2015, at 14:18, Ivan Kravets notifications@github.com wrote:

Try this manual http://clemix.de/www/platformio http://clemix.de/www/platformio

Reply to this email directly or view it on GitHub #310 (comment).

@ivankravets

This comment has been minimized.

Member

ivankravets commented Oct 20, 2015

Hi @grzegorzshub,

Paste here source code which doesn't work with @platformio.

Thanks.

@ivankravets ivankravets assigned valeros and unassigned ivankravets Oct 20, 2015

@ivankravets ivankravets added this to the 2.4.0 milestone Oct 20, 2015

@gz-technology

This comment has been minimized.

gz-technology commented Oct 20, 2015

Hi Ivan
I’m trying to recreate the issue and get back to you with more details soon.
Thank you
Best
Grzegorz

On 20 Oct 2015, at 14:30, Ivan Kravets notifications@github.com wrote:

Hi @grzegorzshub https://github.com/grzegorzshub,

Paste here source code which doesn't work with @platformio https://github.com/PlatformIO.

Thanks.


Reply to this email directly or view it on GitHub #310 (comment).

@gz-technology

This comment has been minimized.

gz-technology commented Oct 20, 2015

It looks like it is a Adafruit_NeoPixel library issue.
Code compiles with Atom+platformio without any warnings or errors, neopixel doesn’t work. Neopixel works fine when the same code is compiled with Arduino IDE.
The code:

#include <ESP8266WiFi.h>
#include <Adafruit_NeoPixel.h>

#define neoPin 14 //neopixel on nodeMCU pin D5
#define NUMPIXELS 1 // How many NeoPixels are attached to the Arduino?
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, neoPin, NEO_GRB + NEO_KHZ800);

void setup() {

pixels.begin();
pixels.setPixelColor(0, pixels.Color(255, 0, 0));
pixels.setBrightness(20);
pixels.show();
}

void loop() {
}

On 20 Oct 2015, at 14:30, Ivan Kravets notifications@github.com wrote:

Hi @grzegorzshub https://github.com/grzegorzshub,

Paste here source code which doesn't work with @platformio https://github.com/PlatformIO.

Thanks.


Reply to this email directly or view it on GitHub #310 (comment).

@valeros

This comment has been minimized.

Member

valeros commented Oct 21, 2015

Hi @grzegorzshub !
I've just added ESP-12E board.
Please update packages via platformio update and install development version of PlatformIO
http://docs.platformio.org/en/latest/installation.html#development-version

@gz-technology

This comment has been minimized.

gz-technology commented Oct 21, 2015

Hi

Tested with PlatformIO version 2.4.0.dev0 and board = esp12e and still the same issue with neopixel.
Just noticed that arduino IDE works with nodeMCU ESP12E 80Mz, while platformio —boards 40Mz, does it matter?

On 21 Oct 2015, at 10:56, Valeriy Koval notifications@github.com wrote:

Hi @grzegorzshub https://github.com/grzegorzshub !
I've just added ESP-12E board.
Please update packages via platformio update and install development version of PlatformIO
http://docs.platformio.org/en/latest/installation.html#development-version http://docs.platformio.org/en/latest/installation.html#development-version

Reply to this email directly or view it on GitHub #310 (comment).

@ivankravets

This comment has been minimized.

Member

ivankravets commented Oct 21, 2015

@grzegorzshub you can force MCU speed manually via http://docs.platformio.org/en/latest/projectconf.html#board-f-cpu

@gz-technology

This comment has been minimized.

gz-technology commented Oct 22, 2015

neopixel library works fine with board_f_cpu = 80000000L
Thank you!

On 21 Oct 2015, at 21:55, Ivan Kravets notifications@github.com wrote:

@grzegorzshub https://github.com/grzegorzshub you can force MCU speed manually via http://docs.platformio.org/en/latest/projectconf.html#board-f-cpu http://docs.platformio.org/en/latest/projectconf.html#board-f-cpu

Reply to this email directly or view it on GitHub #310 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment