Search found 17 matches

by neuberfran
Wed Oct 16, 2019 9:00 pm
Forum: ESP32 boards
Topic: ampy not working in the second time after reset esp32
Replies: 0
Views: 2205

ampy not working in the second time after reset esp32

I stay trying using VScode and/or pychamr and/or ampy im my micropython dev, but I have issue with ampy in second used

I tried vaious stuffs of this https://github.com/scientifichackers/ampy/issues/19, but not solved.

Can anyone help me
by neuberfran
Thu Aug 29, 2019 11:34 pm
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

Re: ESP32 PyCharm all ok but nothing happens

solved
by neuberfran
Thu Aug 29, 2019 9:29 pm
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

Re: ESP32 PyCharm all ok but nothing happens

I stay trying with picocom but I have issue (pic)
by neuberfran
Thu Aug 29, 2019 4:36 pm
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

Re: ESP32 PyCharm all ok but nothing happens

I know I have to know about the directories on device esp32, but is this a copy of what is on the PC? Does pycharm handle this automatically? I have read the issue below that says the files should call boot.py and main.py. I've tried something along these lines and it didn't work. https://github.com...
by neuberfran
Thu Aug 29, 2019 1:26 am
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

Re: ESP32 PyCharm all ok but nothing happens

rpr wrote:
Wed Aug 28, 2019 11:59 pm
Is the main.py inside the zeze directory as well?
yes, C:\Users\neube\PycharmProjects\zeze\zeze
by neuberfran
Thu Aug 29, 2019 1:25 am
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

Re: ESP32 PyCharm all ok but nothing happens

dhylands wrote:
Wed Aug 28, 2019 10:34 pm
If your module directory is stored inside a directory called zeze then you need to add the zeze directory to your sys.path in the main.py file before you try to import it. Otherwise micropython doesn't know where to look.
How to I add the zeze directory to my sys.path?
by neuberfran
Wed Aug 28, 2019 9:33 pm
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

Re: ESP32 PyCharm all ok but nothing happens

Not solved yet. I tried main.py and Without py
by neuberfran
Wed Aug 28, 2019 7:03 pm
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

Re: ESP32 PyCharm all ok but nothing happens

I create a main.py but I have issue:
by neuberfran
Tue Aug 27, 2019 7:00 pm
Forum: ESP32 boards
Topic: ESP32 PyCharm all ok but nothing happens
Replies: 14
Views: 8652

ESP32 PyCharm all ok but nothing happens

Hi, When I go to Tools/Micropython/Micropython REPL I can turn on/off LED. But with this code below, nothing happens. import utime from machine import Pin def main(): led = Pin(23, Pin.OUT) enabled = False while True: if enabled: led.off() else: led.on() utime.sleep_ms(1000) enabled = not enabled if...
by neuberfran
Wed May 22, 2019 4:14 am
Forum: ESP32 boards
Topic: ESP32 dead when I was trying put my i2c device using 5v and Vin port (not detected correctly)
Replies: 14
Views: 6641

Re: ESP32 dead when I was trying put my i2c device using 5v and Vin port (not detected correctly)

I have one more question: I bought a new esp32, 30 pins that should arrive tomorrow (same as the old one) my question in the script is with respect to this line: i2c = machine.I2C(scl=machine.Pin(5), sda=machine.Pin(4)) should I use scl = Pin (5) and sda = Pin (4)) same, or do you advise another set...