From a0b08b0f297c5f0b0eab0a5c798780cd30dfd38b Mon Sep 17 00:00:00 2001 From: William Clark Date: Wed, 22 Nov 2023 12:14:43 +0000 Subject: [PATCH] README --- README.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bd9418..5283b4a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TH7 -Seven-channel multiple thermocouple reader and logger HAT for the Raspberry Pi. +### Seven-channel multiple thermocouple reader and logger HAT for the Raspberry Pi. This software supports the following thermocouple types: @@ -24,6 +24,33 @@ Features not yet implemented but planned: - Request dumps from filter stages for noise study - ... and more! -Note: Most thermocouples that have a coloured and a white lead, usually have the coloured one as the positive. +###### Note: Most thermocouples that have a coloured and a white lead, usually have the coloured one as the positive. ![Alt](/.gitea/webview0.png "Web view demo") + +## Building on a Raspberry Pi + +This code builds without fuss on Raspberry Pi 4 with go version go1.19.3 linux/arm + +```shell +wget https://go.dev/dl/go1.19.3.linux-armv6l.tar.gz +sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.19.3.linux-armv6l.tar.gz +``` + +edit $HOME/.profile and add the following, if not already there: + +```shell +export PATH=$PATH:/usr/local/go/bin +``` + +source new profile + +```shell +. $HOME/.profile +``` + +then try to build + +```shell +make +```