Skip to content

Commit

Permalink
fix MLX90640,QMP6988,PIR compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitshaoxiang committed Jul 27, 2023
1 parent 895eb9e commit 51ee715
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/Basics/Micophone/Micophone.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Date: 2022/2/22
*******************************************************************************
*/
#include <M5StickCPlus.h>
#include <M5StickC.h>
#include <driver/i2s.h>

#define PIN_CLK 0
Expand Down
2 changes: 2 additions & 0 deletions examples/Hat/MLX90640/MLX90640_API.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef _MLX640_API_H_
#define _MLX640_API_H_

#include <Arduino.h>

#define SCALEALPHA 0.000001

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion examples/Unit/BPS_QMP6988/BPS_QMP6988.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ the display screen 请连接端口A(33、32),读取大气压强并在显示屏
*/
#include <M5StickC.h>

#include "UNIT_ENV.h"
#include "M5_ENV.h"
#include "Wire.h" //The BPS uses I2C comunication.

QMP6988 qmp6988;
Expand Down
2 changes: 2 additions & 0 deletions examples/Unit/MLX90640/MLX90640_API.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef _MLX640_API_H_
#define _MLX640_API_H_

#include <Arduino.h>

typedef struct {
int16_t kVdd;
int16_t vdd25;
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions examples/Unit/THERMAL_MLX90640/MLX90640_API.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef _MLX640_API_H_
#define _MLX640_API_H_

#include <Arduino.h>

#define SCALEALPHA 0.000001

typedef struct {
Expand Down

0 comments on commit 51ee715

Please sign in to comment.