Skip to content

Instantly share code, notes, and snippets.

@onkoe
Created November 20, 2023 00:30
Show Gist options
  • Save onkoe/703e76e64c42e84d93f2ef4be4d5dc50 to your computer and use it in GitHub Desktop.
Save onkoe/703e76e64c42e84d93f2ef4be4d5dc50 to your computer and use it in GitHub Desktop.
avrdude done. Thank you.
Programmed target/avr-atmega2560/release/mega-2560-r3.elf
Console /dev/ttyACM0 at 57600 baud
CTRL+C to exit.
Welcome! Starting SPI connection in three seconds...
Successfully initialized SPI! :)
Waiting three seconds before starting...
Read from MAX6675: 16.000° C
Read from MAX6675: 16° C
Read and calulated u16 from MAX6675: 792.
Read and calulated u16 with bitshifts from MAX6675: 99.
Read and calulated u16 with bitshifts from MAX6675 and as f64: 99.000.
Read and calulated u16 with al Celsius conversions AS F32!!!: 24.750.
Read and calulated u16 with al Celsius conversions AS F64!!!: 16.000.
Read from MAX6675: [3, 24].
Read from MAX6675: 16.000° C
Read from MAX6675: 16° C
Read and calulated u16 from MAX6675: 784.
Read and calulated u16 with bitshifts from MAX6675: 98.
Read and calulated u16 with bitshifts from MAX6675 and as f64: 98.000.
Read and calulated u16 with al Celsius conversions AS F32!!!: 24.500.
Read and calulated u16 with al Celsius conversions AS F64!!!: 16.000.
Read from MAX6675: [3, 16].
Read from MAX6675: 16.000° C
Read from MAX6675: 16° C
Read and calulated u16 from MAX6675: 792.
Read and calulated u16 with bitshifts from MAX6675: 99.
Read and calulated u16 with bitshifts from MAX6675 and as f64: 99.000.
Read and calulated u16 with al Celsius conversions AS F32!!!: 24.750.
Read and calulated u16 with al Celsius conversions AS F64!!!: 16.000.
Read from MAX6675: [3, 24].
Read from MAX6675: 16.000° C
Read from MAX6675: 16° C
Read and calulated u16 from MAX6675: 800.
Read and calulated u16 with bitshifts from MAX6675: 100.
Read and calulated u16 with bitshifts from MAX6675 and as f64: 100.000.
Read and calulated u16 with al Celsius conversions AS F32!!!: 25.000.
Read and calulated u16 with al Celsius conversions AS F64!!!: 16.000.
Read from MAX6675: [3, 32].
^C
Exiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment