Drahoslav Bednář

Results 24 comments of Drahoslav Bednář

I am sorry, `go-rpio` is a low-level library - we are using register-based API of the Broadcom bcm2835 chip to control the peripherals. So this highly platform-specific and unless the...

You are right, you have to use the `BCM` pin numbering. If it does not work, the issue is probably somewhere else. I am sorry I think I am not...

I noticed some differences between the main.c and your lora.go: https://github.com/RTradeLtd/rpi-lora-tranceiver/blob/master/src/lora.go#L46 . - you are using `RST` here instead of `ssPin` https://github.com/RTradeLtd/rpi-lora-tranceiver/blob/master/src/lora.go#L65 - this should be input https://github.com/RTradeLtd/rpi-lora-tranceiver/blob/master/src/lora.go#L22 - this...

Probably not any time soon. But I am actually considering to implement SPI protocol. Would you be interested in that?

The issue is probably the same as #38, unfortunately I'm not sure what exactly is the problem. Are you sure your Pi won't boot again? Like never ever? Have you...

This is how it is limited by hardware implementation, see [BCM2835-ARM-Peripherals](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf) - section 6.2 Your python library probably uses only software implementation for pwm on other pins. This means it...

@PeerXu You are kind of right with [pi-blaster](https://github.com/sarfata/pi-blaster/). I went through the source code and it is interesting how it works. In my eyes it lays somewhere between pure hw...

Hi, in PWM mode the `freq` method does not set the output frequency, but the base clock frequency of the channel. You have to multiply it by the cycle length...

@AndrewKovalenko - What Raspberry pi generation you have? There might be some incompatibility witch the newest version. - What number is your `pin`? Only some pins support the PWM mode....

@AndrewKovalenko The RPi 4 model is not fully supported, but I merged the pull-request #50 which might solve your issue. Please try it.