Search found 10 matches

by JPM
Mon Mar 27, 2017 11:21 am
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 10
Views: 7383

Re: Adding a module error

Ok, thanks.
by JPM
Mon Mar 27, 2017 9:48 am
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 10
Views: 7383

Re: Adding a module error

Thanks and another question, When I flash the device with esp8266-20170108-v1.8.7.bin Adafruit "ampy -p COM6 ls" tool reports boot.py but if firmware-combined.bin is flashed that tool reports flash and boot.py is inside of this directory. What can I do to make the behavior the same as with esp8266-2...
by JPM
Sun Mar 26, 2017 11:02 am
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 10
Views: 7383

Re: Adding a module error

Hi, I have flashed a ESP-12E with firmware-combined.bin and everything works fine. In main.py I can import mymodule and I can call mymodule.hello() function. But I have a noob question. Are there any way to use mymodule in another ESP-12E flashed with esp8266-20170108-v1.8.7.bin without any reflash ...
by JPM
Wed Mar 22, 2017 3:50 pm
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 10
Views: 7383

Re: Adding a module error

Thanks, I have added :

Code: Select all

#include "eagle_soc.h"
Now everything is ok.

Regards.
by JPM
Wed Mar 22, 2017 10:58 am
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 10
Views: 7383

Re: Adding a module error

Thanks but I have changed the function and now appears this error : mymodule.c:11:5: error: implicit declaration of function 'WRITE_PERI_REG' [-Werror=implicit-function-declaration] WRITE_PERI_REG(0x600011f4, 1 << 16 | channel); Sure I am doing something wrong. #include "py/nlr.h" #include "py/obj.h...
by JPM
Tue Mar 21, 2017 11:37 am
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 10
Views: 7383

Adding a module error

Hi, I am trying to create a micropython module from C source. I am a newbie on this. In compiling process appears the error: mymodule.c:49:5: error: unknown field 'name' specified in initializer .name = MP_QSTR_mymodule, I am using the method decribed in "Adding a Module" from this web. Any help wil...
by JPM
Tue Mar 21, 2017 11:24 am
Forum: ESP8266 boards
Topic: ESP-12E module power consumption
Replies: 4
Views: 3537

Re: ESP-12E module power consumption

Thanks, I will try to meter the current.
by JPM
Sat Mar 18, 2017 12:44 pm
Forum: ESP8266 boards
Topic: ESP-12E module power consumption
Replies: 4
Views: 3537

Re: ESP-12E module power consumption

Yes I do but I am working with a ESP-12E development board and
I can't desolder the module VCC pin in order to meter current.
by JPM
Sat Mar 18, 2017 9:49 am
Forum: ESP8266 boards
Topic: ESP-12E module power consumption
Replies: 4
Views: 3537

ESP-12E module power consumption

Hi,

Does anyone know the ESP-12E module power consumption when reset is activated ?.

Thanks in advance.
by JPM
Thu Feb 02, 2017 7:30 pm
Forum: ESP8266 boards
Topic: APs with same ssid
Replies: 0
Views: 1423

APs with same ssid

Hi,

When there are several APs with the same ssid, how to connect to the AP with stronger RSSI ?.

Regards.