Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sparkfun/SparkFun_AS7331_Arduino_Library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: sparkfun/SparkFun_AS7331_Arduino_Library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0
Choose a head ref
  • 15 commits
  • 14 files changed
  • 1 contributor

Commits on Nov 28, 2023

  1. Delete

    SFE-Brudnerd committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    283b625 View commit details
    Browse the repository at this point in the history
  2. add files in.

    SFE-Brudnerd committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    46784d4 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. WIP update.

    Delete toolkit files.
    Migrate registers file to header.
    Refactor of library in progress.
    SFE-Brudnerd committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1502e1b View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Compiles but is untested.

    Still need to finish commenting.
    SFE-Brudnerd committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    2c873d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    943bb45 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Get refactor working.

    Update constructor defaults.
    Add getter for device Address.
    Add getters for outputs.
    Edit comments for brevity.
    Make fsr variables const instead of static constexpr.
    Consolidate begin functions.
    Add nullptr checks.
    Incorporate new readRegisterRegion functions.
    Rework prepareMeasurement.
    Add comments.
    SFE-Brudnerd committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    9c199ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cf1ad8 View commit details
    Browse the repository at this point in the history
  3. Rev library to 2.0.0.

    Add dependency.
    SFE-Brudnerd committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    bca6561 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d0dba1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a2a9439 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. Code Review update.

    Update Examples to say halting rather than spinning.
    Add comments about why break time is set.
    Move driver to it's own underlying file.
    Make getDeviceID change op mode if needed.
    Add checking to setDeviceAddress.
    Make runDefaultSetup change op mode if needed.
    Move bulk of runDefaultSetup into the else statement so we don't do unnecessary things.
    prepareMeasurement now uses references and consts.
    Add comment to reset about OSR register availability.
    Add human readable versions of getters for gain, cclk, convTime.
    Rename original versions of those to Raw.
    Remove unnecessary if's in readRawUV.
    setDigitalDividerRange now defaults enabling the divider to true.
    Modify Arduino begin to take in a wire port.
    Remove unnecessary reset call in begin due to logic changes above.
    SFE-Brudnerd committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    b5f83b3 View commit details
    Browse the repository at this point in the history
  2. Update changes.

    Make default case for setDeviceAddress do nothing.
    Manually setOSR in getDeviceID.
    SFE-Brudnerd committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    3be9d9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2c7c4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c06bf1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2 from sparkfun/work

    Refactor library.
    SFE-Brudnerd authored Dec 15, 2023
    Configuration menu
    Copy the full SHA
    c4b61e3 View commit details
    Browse the repository at this point in the history
Loading