These are chat archives for nebrius/raspi-io

16th
Aug 2017
Tyler
@tharnach
Aug 16 2017 16:42
@nebrius hey, does Raspi-io support software serial/bit banging? I'm struggling to get two breakout boards (Ultimate GPS and BNO055) working when they both require UART (BNO055 supports I2C but I can't use it because of clock-stretching issue on RaspPi). I'm new to this and in way over my head. I saw a node library called pigpio that does this type of GPIO -> UART kinda conversion, but then I also saw that pigpio is used in raspi-io, so I'm guessing it's supported(maybe?).
Bryan Hughes
@nebrius
Aug 16 2017 16:49
@tharnach software serial is not supported in Raspi IO I'm afraid. FWIW, pigpio doesn't support it either. What pigpio does is support software PWM, perhaps you meant that?
Tyler
@tharnach
Aug 16 2017 16:51
Mmm. I don't think so, unless that's a way to read data through GPIO from a device that wants to communicate serially.
Tyler
@tharnach
Aug 16 2017 18:04
@nebrius actually pigpio says it supports software serial (3rd to last bullet point under features) http://abyz.co.uk/rpi/pigpio/
I guess that doesn't necessarily mean the node package supports it though hm
Bryan Hughes
@nebrius
Aug 16 2017 18:08
@tharnach Yeah, that’s the underlying C library, not the Node.js wrapper. If we can get that added to the wrapper, then we could expose it in Raspi IO the same way we expose software PWM
@fivdi what do you think?