Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/Arduino/Example1_Basics/Example1_Basics.ino
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ void setup() {
WIRE_PORT.setClock(400000);
#endif

//myICM.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial

bool initialized = false;
while( !initialized ){

Expand Down
2 changes: 2 additions & 0 deletions examples/Arduino/Example2_Advanced/Example2_Advanced.ino
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ void setup() {
WIRE_PORT.setClock(400000);
#endif

//myICM.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial

bool initialized = false;
while( !initialized ){

Expand Down
2 changes: 2 additions & 0 deletions examples/Arduino/Example3_Interrupts/Example3_Interrupts.ino
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ void setup() {
WIRE_PORT.setClock(400000);
#endif

//myICM.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial

bool initialized = false;
while( !initialized ){

Expand Down
10 changes: 8 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ ICM_20948_InternalSensorID_bm KEYWORD1
#######################################

ICM_20948 KEYWORD2
enableDebugging
disableDebugging
debugPrintStatus
debugPrint
debugPrintln
doDebugPrint
getAGMT KEYWORD2
magX KEYWORD2
magY KEYWORD2
Expand Down Expand Up @@ -45,8 +51,8 @@ enableDLPF KEYWORD2
setSampleRate KEYWORD2
i2cMasterPassthrough KEYWORD2
i2cMasterEnable KEYWORD2
i2cMasterConfigureSlave KEYWORD2
i2cMasterSLV4Transaction KEYWORD2
i2cControllerConfigurePeripheral KEYWORD2
i2cControllerPeriph4Transaction KEYWORD2
i2cMasterSingleW KEYWORD2
i2cMasterSingleR KEYWORD2
startupDefault KEYWORD2
Expand Down
Loading