Skip to content

Instantly share code, notes, and snippets.

@ludekstepan
ludekstepan / max31855.c
Created February 7, 2021 20:58
max31855 Raspberry Pi Pico lib
#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");
}