GNU/Linux application to read temperature from thermocouple and MAX6675 chip connected to GPIO pins. It uses new UAPI kernel interface and works without hardware SPI support.
- Install
libgpiod
package - Edit
MAX6675-linux-bitbang.c
to set GPIO chip and GPIO pins that are connected to your MAX6675 device. Default values corresponds to Raspberry Pi 3B SPI pins. - Compile it via
cc -lgpiod MAX6675-linux-bitbang.c
Or use pre-built binary for aarch64 architecture.