Search found 3242 matches

by pythoncoder
Sat Mar 09, 2019 9:07 am
Forum: Drivers for External Components
Topic: Logitech Extreme 3D Pro USB Joystick
Replies: 1
Views: 87

Re: Logitech Extreme 3D Pro USB Joystick

To summarise this uses an Adafruit Trinket running special firmware to interface USB devices to microcontrollers such as the Pyboard. The interface between the Trinket and the target board is via a UART.

Supported USB devices include keyboards and are detailed in the URL above.
by pythoncoder
Fri Mar 08, 2019 10:25 am
Forum: General Discussion and Questions
Topic: Not stable __getattr__ __setattr__ in micropython/tests/basics/class_delattr_setattr.py
Replies: 4
Views: 228

Re: Not stable __getattr__ __setattr__ in micropython/tests/basics/class_delattr_setattr.py

It has emerged that the feature is deliberately omitted from the Unix build. In my opinion the Unix build should include all MicroPython language features: this is under discussion by the maintainers.
by pythoncoder
Wed Feb 27, 2019 6:46 am
Forum: General Discussion and Questions
Topic: Not stable __getattr__ __setattr__ in micropython/tests/basics/class_delattr_setattr.py
Replies: 4
Views: 228

It looks like a bug to me

As far as I can see you're right. I've raised this issue.
by pythoncoder
Mon Feb 25, 2019 10:26 am
Forum: ESP32 boards
Topic: picoweb error when client connect
Replies: 3
Views: 130

Re: picoweb error when client connect

I think you have mismatched versions of firmware and uasyncio . If you are running the official firmware, the version of uasyncio on PyPi will not run. You need to replace __init__.py and core.py in the uasyncio directory with those from the official micropython-lib . The code on PyPi is only guaran...
by pythoncoder
Sun Feb 24, 2019 6:03 pm
Forum: General Discussion and Questions
Topic: uasyncio enhancement
Replies: 3
Views: 155

Re: uasyncio enhancement

Yes, that's how it works. I think that's the best that can be achieved without changing the firmware. It means that you can write my_coro_ref = my_coro() loop.create_task(my_coro_ref) # Do stuff, then asyncio.cancel(my_coro_ref) await asyncio.sleep(0) # Now it really is cancelled and this will work ...
by pythoncoder
Sun Feb 24, 2019 12:47 pm
Forum: General Discussion and Questions
Topic: uasyncio enhancement
Replies: 3
Views: 155

uasyncio enhancement

The current official uasyncio V2.0 has an issue whereby task cancellation and timeouts are deferred until the task is next scheduled. This can introduce substantial latency if the task is waiting on a sleep() , sleep_ms() or on I/O. The uasyncio author, Paul Sokolovsky, solved this in his library fo...
by pythoncoder
Thu Feb 21, 2019 6:42 pm
Forum: The MicroPython pyboard
Topic: Questions re: Wifi Skin add-on board for Pyboard
Replies: 7
Views: 276

Re: Questions re: Wifi Skin add-on board for Pyboard

I've never heard of a WiFi skin for the Pyboard. Who makes it? Is it an ESP8266 with AT commands?
by pythoncoder
Thu Feb 21, 2019 6:38 pm
Forum: Development of MicroPython
Topic: Pycom Wipy3.0 :Using Bluetooth module under asyncio
Replies: 1
Views: 112

Re: Pycom Wipy3.0 :Using Bluetooth module under asyncio

See my response to your PM. It should be easy to get this working.
by pythoncoder
Tue Feb 19, 2019 12:37 pm
Forum: ESP8266 boards
Topic: Designing resilient IOT applications
Replies: 8
Views: 543

Re: Designing resilient IOT applications

No. It would require significant changes. Worse, it would defeat the object of the design. The aim is to have internet facing applications running on a device with an OS, with an internet connection which is under OS control. Hence the inherent unreliability of a WiFi link affects just one interface...
by pythoncoder
Mon Feb 18, 2019 7:02 pm
Forum: ESP8266 boards
Topic: Designing resilient IOT applications
Replies: 8
Views: 543

V0.2 release

This project evolved since my first post and became a collaboration between myself and Kevin Köck. Key features: The API is similar for client and server applications. It is cross-platform supporting ESP8266 and Pyboard D clients. It supports guaranteed message delivery: a message will be delivered ...