Search found 104 matches
- Wed Oct 25, 2017 7:00 am
- Forum: Programs, Libraries and Tools
- Topic: rshell: unexpected EOF while parsing
- Replies: 8
- Views: 8031
Re: rshell: unexpected EOF while parsing
Thanks for your reply (and also libs, I use some, eg. MPU9250). Doesn't seem a USB problem - I get the same error with 'connect telnet 192.168.10.104'. Also, pymakr (running on the ubuntu virtual machine) works. I guess I'll need to download the rshell code and figure out what's wrong with the eval ...
- Mon Oct 23, 2017 9:29 pm
- Forum: ESP32 boards
- Topic: mdns on ESP32
- Replies: 0
- Views: 2391
mdns on ESP32
Apparently the ESP32 IDF supports mdns: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/task_mdns.cpp?utf8=✓ Is is possible to call this from Micropython, specifically MicroPython_ESP32_psRAM_LoBo? Am I correct that "all" that's required is a wifi connection, followed by the C-...
- Mon Oct 23, 2017 3:43 pm
- Forum: Programs, Libraries and Tools
- Topic: rshell: unexpected EOF while parsing
- Replies: 8
- Views: 8031
Re: rshell: unexpected EOF while parsing
Yes, it shows up in ubuntu when the device is plugged in, and disappears when unplugged.
- Sun Oct 22, 2017 10:29 pm
- Forum: Programs, Libraries and Tools
- Topic: rshell: unexpected EOF while parsing
- Replies: 8
- Views: 8031
rshell: unexpected EOF while parsing
When starting rshell six-1.11.0 on ubuntu with rshell -p /dev/ttyUSB0 I get the following error Connecting to /dev/ttyUSB0 ... Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 1185, in connect ip_address = socket.gethostbyname(port) socket.gaierro...
- Thu Oct 19, 2017 9:27 pm
- Forum: ESP32 boards
- Topic: logger.py (loboris' MicroPython)
- Replies: 1
- Views: 2873
logger.py (loboris' MicroPython)
logger.py included with loboris' MicroPython does not define the function basicConfig. It is used by a library I am using. For reference I am including the code for a different logger.py downloaded from the web (with basicConfig and a few other differences). What's the best way to get these differe...
- Thu Oct 19, 2017 5:03 am
- Forum: ESP32 boards
- Topic: OLED mini-display for ESP32
- Replies: 13
- Views: 17672
Re: OLED mini-display for ESP32
Ran into the next problem (with "loboris' MicroPython" - rest works very well): File "ssd1306.py", line 1198, in write_data AttributeError: 'I2C' object has no attribute 'write' dir(i2c) indeed only lists writeto and writeto_mem. scan shows the device ([60]) as expected, and I also can communicate w...
- Thu Oct 19, 2017 12:13 am
- Forum: ESP32 boards
- Topic: PWM on Laboris fw
- Replies: 3
- Views: 3280
- Wed Oct 18, 2017 10:48 pm
- Forum: ESP32 boards
- Topic: PWM on Laboris fw
- Replies: 3
- Views: 3280
Re: PWM on Laboris fw
Figured it out. This problem occurs only if the PWM channel on the particular pin has been allocated already. Resetting the board will fix this.
Follow-up question: is there a way to "dis-allocate" a PWM channel, so it can be used again?
Follow-up question: is there a way to "dis-allocate" a PWM channel, so it can be used again?
- Wed Oct 18, 2017 10:34 pm
- Forum: ESP32 boards
- Topic: PWM on Laboris fw
- Replies: 3
- Views: 3280
PWM on Laboris fw
I cannot find a working PWM example for ESP32 with Laboris fw (I use a Huzzah32 board). The following code won't blink the led: from machine import Pin, PWM pwm = PWM(Pin(13), freq=1, duty=512) # pwm.duty(512) Also, uncommenting the last statement gives an error: ledc: ledc_set_duty(339): LEDC chann...
- Tue Aug 22, 2017 6:25 pm
- Forum: ESP32 boards
- Topic: boot.py not executed
- Replies: 5
- Views: 4241