Skip to content

Commit eaa59bd

Browse files
Fixed sketch in getting started
1 parent 1ab6da5 commit eaa59bd

File tree

1 file changed

+3
-2
lines changed
  • content/hardware/05.nicla/boards/nicla-sense-me/tutorials/getting-started

1 file changed

+3
-2
lines changed

content/hardware/05.nicla/boards/nicla-sense-me/tutorials/getting-started/getting-started.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ The **Arduino_BHY2** library contains these sensors:
122122
```arduino
123123
#include "Arduino_BHY2.h"
124124
125-
SensorOrientation orientation(SENSOR_ID_DEVICE_ORI);
126-
125+
Sensor device_orientation(SENSOR_ID_DEVICE_ORI);
126+
SensorOrientation orientation(SENSOR_ID_ORI);
127+
127128
void setup(){
128129
Serial.begin(115200);
129130
BHY2.begin();

0 commit comments

Comments
 (0)