aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.h
blob: 6625756ed5affe98013c33c8acbc2042de0cf95b (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once
// https://github.com/raspberrypi/pico-examples/tree/master/i2c
// https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html

#define MAX_SLAVES 10
#define MAX_TIMEOUT_TIME 50 //ms

//! looking for slave addresses and requesting updates
void bus_task();