albertaloop / T_SWE_2019_2020

Software for AlbertaLoop's first-generation pod.
MIT License
3 stars 1 forks source link

Add MAX6675/TMP36 temperature sensor code #53

Closed mbardwell closed 2 years ago

mbardwell commented 2 years ago

Summary

Just uploading temperature sensor (MAX6675 & TMP36) code from here. I did not change the code at all.

Test

Ran on lab Teensy. Works. Reminder, to flash a Teensy do the following.

Compile code on your local PC using PlatformIO in VSCode by pressing this button image

Look for resulting .hex file

Building .pio/build/teensy36/firmware.hex

Copy .hex file to the remote pi. Example

mike@computer:~ $ scp ./tools/teensy-rebooter/.pio/build/teensy36/firmware.hex remotepi:/tmp/

Flash .hex to teensy from remote pi. Example

@raspberrypi:~ $ tycmd upload --board 10135960 /tmp/firmware.hex
mbardwell commented 2 years ago

Similar to https://github.com/albertaloop/T_SWE_2019_2020/pull/50