aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.h
blob: e873fae48c940b60a993e39f171901a1bb6b090f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
// https://github.com/raspberrypi/pico-examples/tree/master/i2c

#include <stddef.h>
#include <stdint.h>
#include <hardware/i2c.h>

#define MAX_SLAVES 10

/** \brief looking for slave addresses and requesting updates */
void bus_task();