Tuckie / max31855

Raspberry Pi driver for MAX31855 Cold-Junction Compensated Thermocouple-to-Digital Converter
MIT License
53 stars 30 forks source link

Clock initialisation #8

Open Pete-C2 opened 7 years ago

Pete-C2 commented 7 years ago

Added initialisation of clock to low state. Without this, the use of a pin with a default pull-up results in erroneously clocking out the first bit and all bits being offset by one.

Pete-C2 commented 7 years ago

Tuckie - please give the commit a more sensible name (sorry - this is my first commit and I didn't realise that I needed to change "Add files via upload"! Should be something like "Initialise clock state".