Skip to content

Commit 6e3dfea

Browse files
Restructured repo
Moved XM125 files
1 parent c08fed7 commit 6e3dfea

File tree

993 files changed

+6
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

993 files changed

+6
-10
lines changed

examples/Example01_BasicUsage/Example01_BasicUsage.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ void setup()
1818

1919
void loop()
2020
{
21-
// Request Presence Data to the device
22-
}
21+
// Request Distance Data to the device
22+
23+
}

src/sfeQwiicXM125.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,12 @@ bool QwDevXM125::begin()
2222
// Create the sensor
2323
create_sensor(&detector_resources);
2424

25-
// Setup I2C Protocol (from acconeer) - Can we just skip this and Start I2C?
26-
initI2CApplicationSystem();
27-
presence_reg_protocol_setup();
25+
2826

2927
// Handle GPIO outputs and commands
30-
detector_gpio_output();
3128

3229
// Clear busy bit once the handler is complete
33-
detector_status_clr_bits(PRESENCE_REG_DETECTOR_STATUS_FIELD_BUSY_MASK);
3430
// Set ready pin HIGH when command processing is done
35-
i2c_application_system_set_ready_pin(true);
3631

3732
// TODO: Return whether successful
3833

src/sfeQwiicXM125.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include "Arduino.h"
55
#include <Wire.h>
66

7-
#include "xm125/Inc/i2c_presence_detector.h"
8-
#include "xm125/Inc/i2c_distance_detector.h"
7+
//#include "xm125/Inc/i2c_presence_detector.h"
8+
//#include "xm125/Inc/i2c_distance_detector.h"
99

1010

1111
class QwDevXM125
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)