Search found 32 matches
- Thu Jul 18, 2019 8:05 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
Not right now, but hopefully in the near future.
- Thu Jul 18, 2019 7:39 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
@Roberthh The current operating code is a follows boot.py import my_module my_module.py from time import sleep from machine import Pin def led_state(): print(diag_led()) print('my_module loaded') diag_led = Pin(25, Pin.OUT) diag_led.on() watch_dog_counter = 0 watch_dog_count_up = True sleep(3) diag_...
- Thu Jul 18, 2019 6:35 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
@pythoncoder There must be something wrong with the way I main creating main.py. I created my_module.py and called it from main.py; and it would work if issued a soft reboot (cntr+d) from the REPL. However, it would not work if I power cycled the board. If however; with main.py deleted from the file...
- Thu Jul 18, 2019 10:20 am
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
@pythoncoder Thank you I will try that
- Wed Jul 17, 2019 1:46 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
Firmware is v1.11, I have recently (with the last 5 days) erased and re flashed with esptool
- Wed Jul 17, 2019 1:44 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
This is my boot.py and main.py code boot.py #import esp #esp.osdebug(None) #import webrepl #webrepl.start() import network from time import sleep from umqtt.robust import MQTTClient from machine import Pin import onewire import ds18x20 main_running_led = Pin(25, Pin.OUT) main_running_led.on() watch_...
- Wed Jul 17, 2019 12:51 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
@dhylands Thanks for all your suggestions. I will begin trying to implement.
- Wed Jul 17, 2019 12:49 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
These are images of the ESP32 I am attempting to use.
- Wed Jul 17, 2019 12:30 am
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
Using a standard power supply (not powering from the Raspberrry Pi) produces the same results, main.py is not executing. Is there another way of troubleshooting this problem? Is there any chance there's something wrong with the ESP32? Beyond setting variables, energizing leds, and print statements, ...
- Tue Jul 16, 2019 4:03 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35112
Re: main.py does not appear to working after boot
No it will be several hours before I can make this test. Thank you for all your help.