Skip to content
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
g-zajac opened this issue Oct 20, 2015 · 9 comments
Closed

ESP-12E (nodeMCU) support? #310

g-zajac opened this issue Oct 20, 2015 · 9 comments
Assignees
Milestone

Comments

@g-zajac
Copy link

g-zajac commented Oct 20, 2015

Hi
Any chance for nodeMCU support please?
Thank you

@ivankravets
Copy link
Member

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

@g-zajac
Copy link
Author

g-zajac 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 [email protected] 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
Copy link
Member

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
@g-zajac
Copy link
Author

g-zajac 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 [email protected] 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).

@g-zajac
Copy link
Author

g-zajac 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 [email protected] 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
Copy link
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

@g-zajac
Copy link
Author

g-zajac 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 [email protected] 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
Copy link
Member

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

@g-zajac
Copy link
Author

g-zajac commented Oct 22, 2015

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

On 21 Oct 2015, at 21:55, Ivan Kravets [email protected] 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
Projects
None yet
Development

No branches or pull requests

3 participants