Hello together, i wanted to realise a little project with an attiny1416 which is programmable in the arduino ide paired with an max6675 temperature module. Is it possible to use the libraries from Arduino Uno with SPI communication to max6675 and is it possible to flash and debug it via UPDI? I want to read out these temperature values via serial debugging.
thanks in advance
I expect that will work just fine, except debugging via UPDI. You need Microchip tools for that. Flashing via UPDI is easy.
The example that comes with the max6675 library by Rob Tillaart compiles without errors for the 1614. You may have to change the pin numbers to the hardware SPI pins of the ATtiny1614.
1 Like
But i can read out the measured temperatures with a serial output? I just need to change the UPDI PIN to the TX pin if i got that right?
you can serial.print whatever you want.
Okay nice, do i need to adjust some spi registers too? Or just arrange the correct SCK,CS and SO pins to get proper temperature readings?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.