Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 514 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 514 Bytes

MAX6675-linux-bitbang

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.

Compilation

  1. Install libgpiod package
  2. 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.
  3. Compile it via cc -lgpiod MAX6675-linux-bitbang.c

Or use pre-built binary for aarch64 architecture.