Closed sylv-io closed 4 years ago
Change Pin type definition to uint16 to support GPIO expansion ICs.
e.g.: Using the kernel module gpio_pca953x for the PCA9555 IC does provide a GPIO base of 496.
Signed-off-by: Marcello Sylvester Bauer sylv@sylv.io
I realized this library does only work with bmc gpios (via /dev/mem or /dev/gpiomem). this change will not work.
Looks like i have to seach an other solution in my case :sweat_smile:
Change Pin type definition to uint16 to support GPIO expansion ICs.
e.g.: Using the kernel module gpio_pca953x for the PCA9555 IC does provide a GPIO base of 496.
Signed-off-by: Marcello Sylvester Bauer sylv@sylv.io