Search found 7 matches
- Sun Nov 12, 2017 3:11 am
- Forum: ESP32 boards
- Topic: how to use the hardware SPI?
- Replies: 3
- Views: 3425
Re: how to use the hardware SPI?
Hello everyone! My name is Cheche, I'm from China, I'm an amateur electronic fan, I have a question to ask, I have a LCD with ILI9341 chip, but using softSPI is too slow,so, Can I use ESP32's hardware SPI?(machine,SPI is softSPI ? right?) Thanks! By the way, I'm not very good at English! :D Hi Chec...
- Sun Nov 12, 2017 2:58 am
- Forum: ESP32 boards
- Topic: Hardware SPI Pins
- Replies: 3
- Views: 8724
Re: Hardware SPI Pins
Hi, You can use HW SPI with just about any of the pins, but when you use the "native" pins for a particular HW SPI, you should be able to achieve much higher baud rates. Yes, you must pass the actual Pin() objects. For HSPI (id = 1), the pins are: CLK: 14 MOSI: 13 MISO: 12 For VSPI (id = 2): CLK: 18...
- Thu May 18, 2017 6:16 am
- Forum: Development of MicroPython
- Topic: Caveats of using mp_sched_schedule() ?
- Replies: 2
- Views: 2778
Re: Caveats of using mp_sched_schedule() ?
Yes, the problem is resolved (probably by your fixups for IDF sync), but I still don't know why the flash writes only failed from within the function that was called by mp_sched_schedule(), thus this question.
It was a long shot, but I figured it was worth asking.
Thanks.
It was a long shot, but I figured it was worth asking.
Thanks.
- Wed May 17, 2017 2:57 pm
- Forum: Development of MicroPython
- Topic: Caveats of using mp_sched_schedule() ?
- Replies: 2
- Views: 2778
Caveats of using mp_sched_schedule() ?
I'm using mp_sched_schedule() to trigger callbacks into µPy. This by-and-large works fine, but if I have some code in the callback that writes to flash, it crashes spectacularly, but without usefull backtrace (see https://github.com/espressif/esp-idf/issues/611 ). Are there any known caveats to usin...
- Thu Apr 20, 2017 3:52 pm
- Forum: Development of MicroPython
- Topic: "weak" reference to python object?
- Replies: 4
- Views: 4767
Re: "weak" reference to python object?
Does that mean that there's no weakref concept for µPy objects?
- Wed Apr 19, 2017 10:17 pm
- Forum: Development of MicroPython
- Topic: "weak" reference to python object?
- Replies: 4
- Views: 4767
"weak" reference to python object?
I have an implemented class that provides "make_new" to create a related object. That related object has a UUID, and the object is a "singleton" per UUID; that is for UUID "5", there is only one object. To implement this, I was going to keep a table of existing created objects, and if the constructo...
- Wed Apr 19, 2017 6:21 pm
- Forum: Development of MicroPython
- Topic: Returning bound methods from an attribute handler
- Replies: 0
- Views: 1473
Returning bound methods from an attribute handler
Is this the correct way to implement an .attr handler that must return bound methods? Specifically the mp_obj_new_bound_meth() bits? Also, how do you make dir(x) work correctly with an .attr handler? STATIC mp_obj_t network_bluetooth_service_start(mp_obj_t self_in) { NETWORK_BLUETOOTH_DEBUG_PRINTF("...