Skip to content

Commit efca216

Browse files
committed
Examples update (interrupts)
1 parent 5050e35 commit efca216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/exampleInterrupts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ extern "C" void app_main(){
4444
// storedOffsets.accelRadius = 0;
4545
// storedOffsets.magRadius = 662;
4646

47-
BNO055 bno(UART_NUM_1, GPIO_NUM_17, GPIO_NUM_16);
47+
BNO055 bno(UART_NUM_1, GPIO_NUM_17, GPIO_NUM_16, GPIO_NUM_MAX, GPIO_NUM_23); // GPIO_NUM_MAX means unset
4848
try{
4949
bno.begin(); //BNO055 is in CONFIG_MODE until it is changed
5050
bno.enableExternalCrystal();

0 commit comments

Comments
 (0)