Guy Carpenter

Results 16 comments of Guy Carpenter

Yeah that's not good. I don't see anything wrong in your use of the library. I'd try slowing the PWM rate way down, and see if the issue is related...

This is great @boxysean and @jayceelock. I really appreciate the effort to make this a PR. I'll get it merged as soon as I have a chance to read it...

Your test indicating -1, 1, -1 points to a problem with inputs. That would be consistent with 1 pin value not changing, so double-check the PIN definitions at the top...

One more consideration; if your motor only turns one direction, you can modify the sampling logic to reliably accommodate 1 or 2 missed states by removing all of the delta...

The worker example is polling to get events, and so it has a definite upper limit for speed. In fact with polling there is a tradeoff of resource waste vs...

The problem is that the gpio wrapper needs a new block to adapt the Jetson.GPIO library. At a glance the Jetson library looks like a drop-in for Adafruit_BBIO.GPIO, so try...

There are three samples for the rotary encoder. Which one gives you an error? 1. https://github.com/guyc/py-gaugette/blob/master/samples/rotary_test.py 2. https://github.com/guyc/py-gaugette/blob/master/samples/rotary_worker_test.py 3. https://github.com/guyc/py-gaugette/blob/master/samples/rotary_interrupt_test.py My money is on (3). Do the others give the...

The error is definitely coming from WiringPi. There is an issue open for it: https://github.com/WiringPi/WiringPi-Node/issues/76 It does not appear to have been fixed yet.

Yes, it is certainly possible. The original Arduino library that this library is based on supports both SPI and I²C, but I didn't port the I²C code across because I...

Sorry, haven't got to this yet, but hopefully I will soon.