pimoroni / fanshim-python

Python library for the Fan SHIM for Raspberry Pi
https://shop.pimoroni.com/products/fan-shim
MIT License
295 stars 85 forks source link

the service produces rubbish on serial port #91

Closed MakeSenseIoT closed 4 years ago

MakeSenseIoT commented 4 years ago

after installation the service produces rubbish on serial port

Gadgetoid commented 4 years ago

Since it uses BCM 14 and BCM 14 (UART TX and RX) to drive the LED this is possibly to be expected.

I've pushed an update to the library that allows the LED to be completely disabled to avoid this. You have to run the installer with the --noled argument.

What OS are you using, how are you probing the serial port, and does this cause any issues normally? Trying to figure out of this needs fixing or just documented.

MakeSenseIoT commented 4 years ago

@Gadgetoid, Thanks for responding. I'm using 64-bit Raspberry Pi OS and have the serial to USB adapter connected to it. I will try today the --noled option.

MakeSenseIoT commented 4 years ago

@Gadgetoid, Thanks, it works for me. Maybe consider to use other pins (not Tx, Rx) in the future. Cheers, Jan