Search found 12 matches
- Mon Jan 22, 2018 9:32 pm
- Forum: General Discussion and Questions
- Topic: ValueError: Error in regex
- Replies: 2
- Views: 2371
Re: ValueError: Error in regex
Thanks! I didn't realize I was looking the wrong version of the documentation
- Mon Jan 22, 2018 6:23 pm
- Forum: General Discussion and Questions
- Topic: ValueError: Error in regex
- Replies: 2
- Views: 2371
ValueError: Error in regex
Hi, I'm trying to port a sseclient module to uPython, but I'm getting an error in a regex line: re.compile('(?P<name>[^:]*):?( ?(?P<value>.*))?') The error is not very informative ValueError: Error in regex Does anyone knows what is not supported by the upython module? I didn't find an answer in the...
- Sun Oct 29, 2017 9:39 pm
- Forum: ESP32 boards
- Topic: Differences between Micropython ports for ESP32 and ESP8266
- Replies: 35
- Views: 175432
Re: Differences between Micropython ports for ESP32 and ESP8266
WebREPL comes to mind. I'm making custom ESP32-WROOM gizmos to run household tasks, I'm still not sure of a way for a remote wireless ESP32 embed to update microPython files without WebREPL. Adafruit 'ampy' is saving me here, used over a serial TTL wire to the TX/Rx pins, so maybe somebody can enli...
- Sat Oct 28, 2017 9:34 pm
- Forum: General Discussion and Questions
- Topic: Read data from 16-bit register addres (I2C)
- Replies: 7
- Views: 7045
Re: Read data from 16-bit register addres (I2C)
You're right. I did that the first time but for some reason it didn't work so I thought I had to change something, now seems like I'm getting the right data, I'll keep testing it.
Thanks!
Thanks!
- Sat Oct 28, 2017 4:29 pm
- Forum: General Discussion and Questions
- Topic: Read data from 16-bit register addres (I2C)
- Replies: 7
- Views: 7045
Re: Read data from 16-bit register addres (I2C)
Thank you both for your answer. If that doesn't work (addrsize is not implemented in all ports), you can take a look at my driver for the vl6180 sensor: https://bitbucket.org/thesheep/micropython-vl6180/src/tip/vl6180.py#vl6180.py-26:30 addrsize is not implemented yet in the esp32 port, so I'm tryin...
- Fri Oct 27, 2017 11:34 pm
- Forum: General Discussion and Questions
- Topic: Read data from 16-bit register addres (I2C)
- Replies: 7
- Views: 7045
Read data from 16-bit register addres (I2C)
I'm trying to read the data from a sensor where I need to send it a 16-bit register addres
This is the diagram from the datasheet
When reading: Set the LSB of slave address to 1 so that is ABh (1010_1011b).
How should I do this in uPython?
This is the diagram from the datasheet
When reading: Set the LSB of slave address to 1 so that is ABh (1010_1011b).
How should I do this in uPython?
- Fri Oct 27, 2017 8:21 pm
- Forum: Programs, Libraries and Tools
- Topic: uPiot - Sublime Text MicroPython Tool
- Replies: 0
- Views: 2931
uPiot - Sublime Text MicroPython Tool
Hi everyone, I've been working in a plugin called uPiot to work with micropython from Sublime Text; - Download and burn the firmware without any extra tool (esp32 and esp8266) - Run or send the script easily with a shorcut or selecting the option from the command panel - Use all the function used in...
- Thu Oct 26, 2017 5:47 pm
- Forum: ESP32 boards
- Topic: Firmware download link
- Replies: 6
- Views: 4963
Re: Firmware download link
Thanks @tuupola!
I'll try that, the only problem there is no link for esp32 at this moment, I'll wait until it's back
I'll try that, the only problem there is no link for esp32 at this moment, I'll wait until it's back
- Mon Oct 16, 2017 2:54 pm
- Forum: ESP32 boards
- Topic: Firmware download link
- Replies: 6
- Views: 4963
Re: Firmware download link
Thansk, so I imagine the answer is, there is no way to to that.
- Mon Oct 16, 2017 2:50 pm
- Forum: ESP32 boards
- Topic: OSError: [Errno 2] ENOENT
- Replies: 4
- Views: 14415
Re: OSError: [Errno 2] ENOENT
create the main.py file to remove the 'OSError: [Errno 2] ENOENT' and try this examples http://docs.micropython.org/en/latest/e ... ckref.html it's the documentation for esp8266 but the esp32 API is similar so you will be able to run most of the examples.