16 lines
277 B
C
16 lines
277 B
C
#include <stdio.h>
|
|
#include <hardware/i2c.h>
|
|
#include "pico/stdlib.h"
|
|
#include "bme280.h"
|
|
|
|
|
|
|
|
int main() {
|
|
stdio_init_all();
|
|
bme280_config config;
|
|
bme280_init(&config, i2c1, 14, 15);
|
|
while (true) {
|
|
sleep_ms(1000);
|
|
printf("One Second\n");
|
|
}
|
|
}
|