/vscp-demo-max6675-rpi

Raspberry Pi C library for interfacing with the MAX6675 Thermocouple chip with demo for VSCP

Primary LanguageCMIT LicenseMIT

VSCP MAX6675 thermocouple C i/f demo code for Raspberry Pi

VSCP Logo

This is work based on work done by Matthew Robinson (https://github.com/mttrb)

Enable spi interface with raspi-config before building. Also define version to build in the Makefile before building as of below

  • WIRINGPI - using the wiringpi library
  • PIGPIO - using the pigpio library (must be root)
  • PIGPIOIF2 - using the pigpio library and the pigpiod daemon (user space available)

pigpio

The pigpio library is described here

On Debian systems install with

sudo apt install pigpio pigpiod

The pigpiod daemon must be running to run this codde. To have it started on boot

sudo systemctl enable pigpiod

Manually start service with

sudo systemctl start pigpiod 

and stop with

sudo systemctl start pigpiod 

Copyright -2018 Matthew Robinson - https://github.com/mttrb Copyright 2018-2022 Changes and VSCP demo adoption Ake Hedman, Grodans Paradis AB