This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "pico/stdlib.h" | |
#include "hardware/spi.h" | |
#include "max31855.h" | |
static inline void max31855_cs_select(uint pin_cs) { | |
asm volatile("nop \n nop \n nop"); | |
gpio_put(pin_cs, 0); // Active low | |
asm volatile("nop \n nop \n nop"); | |
} |
OlderNewer