Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-goddard committed Nov 24, 2024
1 parent c07084d commit 645ef4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ target_link_libraries(${PROJECT_NAME}
hardware_i2c
)

# Enable serial over USB
pico_enable_stdio_usb(${PROJECT_NAME} 1)
pico_enable_stdio_uart(${PROJECT_NAME} 0)

Expand Down
10 changes: 1 addition & 9 deletions lis3dh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define LI3DH_WHO_AM_I (0x33)

/**
* Representation of the LIS3DH sensor.
* Representation of the LIS3DH sensor
*/
class LIS3DH {
public:
Expand Down Expand Up @@ -58,14 +58,6 @@ class LIS3DH {
*/
bool write_register(const uint8_t reg, const uint8_t val);

/**
* Reads a single raw acceleration value.
* @param reg The register to read from
* @param val The resulting 16 bit acceleration value
* @return True on successful read, false otherwise
*/
// bool read_raw_accel(uint8_t reg, int16_t *val);

/**
* The scaling factor for acceleration values.
* This is dependent on the full-scale range.
Expand Down

0 comments on commit 645ef4a

Please sign in to comment.