blob: 5c4c95ec50031bfcfc824d23c1ab9fc0ac177154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdio.h>
#include "pb-mod.h"
#include "pb-types.h"
const char * PB_MOD_NAME = "test";
const i2c_addr_t PB_MOD_ADDR = 0x08;
void pb_i2c_send(i2c_addr_t addr, const uint8_t * buf, size_t sz) {
printf("[0x%02x]: buf[%lu]\n", addr & 0x7f, sz);
}
|