Thanks for that link. Very illuminating.
I tried those on my ESP32. The first two programs (led1, led2) ran slower than the pyboard, while the next two (led3, led4) ran a little faster. For obvious reasons, I could not run the native and viper demos.
Search found 99 matches
- Thu Jul 11, 2019 11:46 pm
- Forum: General Discussion and Questions
- Topic: how fast is mycropython ?
- Replies: 2
- Views: 1945
- Thu Jul 11, 2019 1:37 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35082
Re: main.py does not appear to working after boot
Have you tried a hard reboot when connected via rshell either pressing the button on the esp32 or doing a machine.reset()?
- Wed Jul 10, 2019 9:22 pm
- Forum: ESP32 boards
- Topic: main.py does not appear to working after boot
- Replies: 50
- Views: 35082
Re: main.py does not appear to working after boot
Have you tried 1) power cycling the ESP32 directly or 2) tried to power down the Pi and restart as opposed to reboot? Maybe the reboot of the Pi is not disconnecting the power to the USB?
- Sun Jul 07, 2019 6:20 am
- Forum: ESP32 boards
- Topic: Rain Sensor (FC-37) with MicroPython
- Replies: 2
- Views: 3199
Re: Rain Sensor (FC-37) with MicroPython
As @jimmo says, it is quite easy with micropython. Here is my code: from machine import Pin, ADC from time import sleep d = Pin(27, Pin.IN) adc = ADC(Pin(33)) adc.atten(ADC.ATTN_11DB) def loopreading(): while True: if d.value() > 0: x = "No Rain" else: x = "Rain" print(adc.read()," ",x) sleep(1) loo...
- Mon Jul 01, 2019 2:55 am
- Forum: ESP8266 boards
- Topic: machine.reset(0 output
- Replies: 2
- Views: 1711
- Mon Jul 01, 2019 12:11 am
- Forum: ESP8266 boards
- Topic: machine.reset(0 output
- Replies: 2
- Views: 1711
machine.reset(0 output
On my ESP32 when I do machine.reset() or press the RST button, I get readable output on my terminal. On the ESP8266, I gets unreadable characters. Any way to get readable output? I am using rshell with the default baud rate. Thanks.
- Sat Jun 29, 2019 9:50 am
- Forum: Development of MicroPython
- Topic: registering python special methods in C class
- Replies: 2
- Views: 2103
Re: registering python special methods in C class
Hopefully Zoltan can find Zoltan's fridge easily.
- Fri Jun 28, 2019 8:10 pm
- Forum: ESP8266 boards
- Topic: Driver for NEMA 17 stepper motor ?
- Replies: 15
- Views: 11832
Re: Driver for NEMA 17 stepper motor ?
I agree with @jimmo: You don't need the precise positioning that a stepper provides since you are moving the object over distances much larger than the size of the motor. Thanks for updating the diagram. Is this a conveyer belt? How heavy is the belt? Is the belt being supported? You are going to ne...
- Fri Jun 28, 2019 7:51 pm
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19137
Re: double precision float on ESP8266
See the ports/esp32 help page (README.md)
Try the following.
make PYTHON=python2
Try the following.
make PYTHON=python2
- Wed Jun 26, 2019 7:11 am
- Forum: General Discussion and Questions
- Topic: double precision float on ESP8266
- Replies: 30
- Views: 19137
Re: double precision float on ESP8266
Thanks. That worked great.