IIC OK but sensor error

This commit is contained in:
2025-08-14 00:41:12 +08:00
parent 54bf206ec3
commit 4e0ad6e8eb
9 changed files with 1315 additions and 16 deletions

View File

@@ -40,6 +40,7 @@ OF SUCH DAMAGE.
#include <stdio.h>
#include "i2c.h"
#include "board_config.h"
#include "sensor_example.h"
bool g_status_switch = false;
@@ -79,6 +80,10 @@ int main(void)
#ifdef DEBUG_VERBOSE
i2c_scan();
#endif
sensors_init_example();
sensors_read_example();
while(1){