Jan Vraný

Results 15 comments of Jan Vraný

I've got this problem also with motor speed reading when reversing. Indeed we need to know whether the data is signed on unsigned int and interpret it accordingly. When in...

This does the trick for me: ``` diff --git a/bricknil/sensor/peripheral.py b/bricknil/sensor/peripheral.py index bf9f258..d3dfdf1 100644 --- a/bricknil/sensor/peripheral.py +++ b/bricknil/sensor/peripheral.py @@ -130,12 +130,12 @@ class Peripheral(Process): If multiple values, then a list...

See PR #10 with the above fix. I did not include support for floating point values - to me it looks the information about the type is nowhere to access...

Ah, I just noticed (ii) has been done by @dlech in #5.

I gave it a go and and implemented (iii) and (iv) on top if @dlech's PR #5. You may find the code here: https://github.com/janvrany/bricknil/tree/simplify Tested with BLEAK commit 472b576ef76f88a2830c823ed0970b79a032e5a6. The...

Right, that make sense. Let me at least do a quick pass over comments and function names to remove (now obsolete) references to curio. Thanks!

@positron96: I'm afraid it would not and AFAIK it is *not* possible now anyways. However, I agree this is a limitation as one hub might not be enough for more...

@dlech , @virantha : to start a more detailed discussion, I've opened a PR with mu current working code: see PR *#11 Code simplification*

@justxi I'll check later today. As this repository seems to be..."quiet" so to say, I went ahead and did more radical refactorings / cleanups (to suit my needs) I'll have...

@justxi > Hi, are all your changes which are mentioned in the PR also in the branch "simplify" in your forked repository? Yes. Moreover, my current development version is in...