Cant copy my code here but I have everything else working do you have any sample code I could look at. I have set_encoder_cfg(1,0) and (1,1) if i set to (1,1) I get an repeating 1 and same with 0. looking for 32 bit
I am struggling to get an encoder reading with the 4rel4in HAT. I have the "a"encoder wired to the IN1-com and "b" to the IN2-com. I am powering from another source. I can get the Relays to turn on and off so I know i have the library loaded. I am trying to have the encoder count for me or just...
also have this Error
>> import sm_4rel4in
>>> rel = sm_4rel4in.SM4rel4in(0)
Traceback (most recent call last):
File "/home/ryanpimg/4rel4in-rpi/python/sm_4rel4in/sm_4rel4in/__init__.py", line 46, in __init__
self._card_rev_major = bus.read_byte_data(self._hw_address_...
ryanpimg@raspberrypi:// $ git clone https://github.com/SequentMicrosystems/4rel4in-rpi.git
fatal: could not create work tree dir '4rel4in-rpi': Permission denied
ryanpimg@raspberrypi:// $ ls
bin dev home lost+found mnt proc run srv tmp var
boot etc lib media opt root sbin...
Sorry to bother again but I can not install as the second board on the Pi(or stack 1) jumper in position 1
error below
>>> rel = sm_4rel4in.SM4rel4in(1,7)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File...