blob: cb42ca4509cc8fbb8b138861beac983d74ce4cad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <FreeRTOS.h>
#include <task.h>
#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <pico/stdlib.h>
#include <hardware/i2c.h>
#include "i2c.h"
#include "pb-mod.h"
#include "pbdrv.h"
void bus_task() {
vTaskDelay(1000 / portTICK_PERIOD_MS);
bus_scan();
vTaskDelete(NULL);
}
|