File tree Expand file tree Collapse file tree 4 files changed +10
-34
lines changed Expand file tree Collapse file tree 4 files changed +10
-34
lines changed Original file line number Diff line number Diff line change 1
1
# BOARD_TAG = arduino:mbed_rp2040:pico
2
- BOARD_TAG = rp2040:rp2040:rpipico
3
- MONITOR_PORT = /dev/cu.usbmodem11401
2
+ # BOARD_TAG = rp2040:rp2040:rpipico
3
+ BOARD_TAG = esp32:esp32:XIAO_ESP32C3
4
+ MONITOR_PORT = /dev/cu.usbmodem132401
4
5
ARDUINO_CLI_PATH := arduino-cli
5
6
6
- help :
7
- @echo " Usage: make [target] [BOARD=rp2040|esp32|esp32s3]"
8
- @echo " Targets:"
9
- @echo " compile: compile the firmware"
10
- @echo " upload: upload the firmware to the board"
11
- @echo " monitor: monitor the serial port"
12
- @echo " clean: clean the cache"
13
- @echo " all: compile, upload, monitor"
14
- @echo " Examples:"
15
- @echo " make compile BOARD=rp2040"
16
- @echo " make upload BOARD=rp2040"
17
- @echo " make all BOARD=esp32s3"
18
-
19
7
compile :
20
8
$(ARDUINO_CLI_PATH ) compile --fqbn $(BOARD_TAG ) --export-binaries
21
9
Original file line number Diff line number Diff line change 1
1
# BOARD_TAG = arduino:mbed_rp2040:pico
2
- BOARD_TAG = rp2040:rp2040:rpipico
3
- MONITOR_PORT = /dev/cu.usbmodem11401
2
+ # BOARD_TAG = rp2040:rp2040:rpipico
3
+ BOARD_TAG = esp32:esp32:XIAO_ESP32C3
4
+ MONITOR_PORT = /dev/cu.usbmodem132401
4
5
ARDUINO_CLI_PATH := arduino-cli
5
6
6
- help :
7
- @echo " Usage: make [target] [BOARD=rp2040|esp32|esp32s3]"
8
- @echo " Targets:"
9
- @echo " compile: compile the firmware"
10
- @echo " upload: upload the firmware to the board"
11
- @echo " monitor: monitor the serial port"
12
- @echo " clean: clean the cache"
13
- @echo " all: compile, upload, monitor"
14
- @echo " Examples:"
15
- @echo " make compile BOARD=rp2040"
16
- @echo " make upload BOARD=rp2040"
17
- @echo " make all BOARD=esp32s3"
18
-
19
7
compile :
20
8
$(ARDUINO_CLI_PATH ) compile --fqbn $(BOARD_TAG ) --export-binaries
21
9
22
10
upload :
23
11
@$(ARDUINO_CLI_PATH ) upload -p $(MONITOR_PORT ) --fqbn $(BOARD_TAG ) --verbose
24
12
25
13
monitor :
26
- @$(ARDUINO_CLI_PATH ) monitor -p $(MONITOR_PORT ) --config baudrate=38400
14
+ @$(ARDUINO_CLI_PATH ) monitor -p $(MONITOR_PORT ) --config baudrate=9600
27
15
# screen $(MONITOR_PORT) 9600
28
16
29
17
clean :
Original file line number Diff line number Diff line change 1
1
name =MPU6050
2
- version =1.3.0
2
+ version =1.3.1
3
3
author =Electronic Cats
4
4
maintainer =Electronic Cats <store@electroniccats.com>
5
5
sentence =MPU6050 Arduino Library.
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ THE SOFTWARE.
87
87
// after moving string constants to flash memory storage using the F()
88
88
// compiler macro (Arduino IDE 1.0+ required).
89
89
90
- // #define DEBUG
90
+ // #define DEBUG
91
91
/* Control whether debugging macros are active at compile time */
92
92
#undef DB_ACTIVE
93
93
#ifdef DEBUG
@@ -597,7 +597,7 @@ uint8_t MPU6050_9Axis_MotionApps41::dmpInitialize() {
597
597
#ifdef DEBUG
598
598
DEBUG_PRINT (F (" Read bytes: " ));
599
599
for (j = 0 ; j < 4 ; j++) {
600
- DEBUG_PRINTF (dmpUpdate[3 + j], HEX);
600
+ DEBUG_PRINT (dmpUpdate[3 + j], HEX);
601
601
DEBUG_PRINT (" " );
602
602
}
603
603
DEBUG_PRINTLN (" " );
You can’t perform that action at this time.
0 commit comments