Paul Osborne

Results 119 comments of Paul Osborne

Thanks @Andful, most of the repos I transferred to the wg automatically redirect but I must have forked this one at a later time or did the transfer of ownership...

A couple of things: 1. For PWM to work on pins, you'll need to make sure that your device tree is set up to enable PWM on pins. For P9.22,...

Ah, maybe the PWM exports and exports for GPIO are separate (that is likely the case). Where is the table you reference from?

@djmoreho What is your use case? There is some hackery with FieldPlaceholder and the like that were what I came up with at some point for supporting the primary use...

Exposing this would be possible but I'm debating if it is a good idea. The current, canonical way to do this is to use `StreamProtocolHandler` (http://digidotcom.github.io/python-suitcase/latest/api.html#suitcase.protocol.StreamProtocolHandler). This was done for...

Thanks for the context @harlowja. That always helps. I'll probably move forward with exposing `unpack_stream`. The rest here is mostly bikeshedding. > Btw, if u are going to recommend just...

Interesting. I wonder if this might be better handled outside of Suitcase? Presumably, once you have received `N` packet callbacks, you could just stop feeding in bytes to `feed()`. What...

I think `UBInt8Sequence` should work for this. It appears that it doesn't show up in the docs as it is generated by a factory (https://digidotcom.github.io/python-suitcase/latest/_modules/suitcase/fields.html#BaseFixedByteSequence). It expects a sequence of...

Yeah, feel free to put together a PR for this and we will take a look.

I would accept a PR adding floating point support. You should be able to add basic support easily by using the struct format strings similar to the existing ones like...