Peter Hinch

Results 26 issues of Peter Hinch

@kevinkk525 You earlier mentioned the behaviour of the initial **connect()**. If I understand you correctly, there are circumstances in which it can block indefinitely. If this can ever occur it...

Integer algorithm requires minimal extra code for filled ellipse. Algorithm from "A Fast Bresenham Type Algorithm For Drawing Ellipses, John Kennedy Mathematics Department Santa Monica College".

extmod

This arose [in the forum](https://forum.micropython.org/viewtopic.php?f=20&t=10221&p=57288#p57288). If an exception occurs in the **time()** function, **msg** is not updated so a value of **-NTP_DELTA** is returned. If this is the intended mechanism...

umqtt.robust works when WiFi fails completely. In testing there are circumstances when WiFi performance can be degraded to a point where blocking sockets can hang indefinitely without throwing an OSError....

When power is first applied to the MTK3339 chip it emits RMC messages with **gps_segments[2] != 'A'**. The **'A'** value only appears once a satellite fix has been achieved. Unfortunately...

This library works extremely well but there are potential optimisations for use on platforms with little RAM. My [asynchronous GPS device driver](https://github.com/peterhinch/micropython-async/blob/master/gps/as_GPS.py) implements these. The principal categories are as follows:...

[This line](https://github.com/mcauser/micropython-waveshare-epaper/blob/24c454cdd004c273d8dc3349ec365e87dec371ea/epaper2in7.py#L93) throws `NameError: name 'LUT_BW' isn't defined`. Should it read: ```python LUT_BW = LUT_WW ``` ?

Issuing sleep_ms(t) can cause ticks to be missed. The number of ms lost is min(10, t). The following script demonstrates this with timer callbacks apparently occurring early. Note that they...

In the course of updating [this](https://github.com/peterhinch/micropython-mqtt/tree/master/mqtt_as) asynchronous MQTT driver I want to make it compatible with ESP32. The code uses a nonblocking socket. I get OSError 119 when writing to...

An option to minify while preserving the number of lines in the file. This would assist in debugging in that line numbers reported on the target system would match those...

enhancement