1. 25 7月, 2019 2 次提交
  2. 24 7月, 2019 4 次提交
  3. 23 7月, 2019 4 次提交
    • K
      Add simple SoftwareSpi implementation (no timing control) and extract it from MCP3008 (#607) · a0cf397b
      Krzysztof Wicher 提交于
      * Add simple SoftwareSpi implementation (no timing control) and extract it from MCP3008
      
      * remove tests project
      
      * address feedback
      
      * Update src/devices/SoftwareSpi/SoftwareSpi.cs
      
      * Add space between params
      
      * periods in the end of summary and params
      a0cf397b
    • G
      Add Bme680 binding (#477) · d32ad7a6
      George Mathieson 提交于
      * Create bme680 device binding project from the template
      
      * Add BME680 sensor with temperature, pressure and humidity functionality
      
      * Refactor the Bme680 binding into the existing binding
      
      * Rename registers to match those in the Bmx280 binding
      
      * Rename Register to Bmx280Register and create a Bme680Register
      
      The BMP280 and BME280 use the same registers, so Bmx280Register has been used as the name. As there is only one binding using the registers for the Bme680, this has been named Bme680Register.
      
      * Add a Bmxx80Register for registers shared amongst the Bmxx80 family
      
      * Move registers into their own folder
      
      Similar to how the Mcp25xxx binding is
      
      * Rename Bme680 calibration data to match the Bmx280 naming
      
      * Make ReadFromDevice() virtual and rename bmp280 to bmxBase
      
      * Add calibration data for the Bme680
      
      * Create separate calibration data for Bmx280 and Bme680 bindings
      
      * Order csproj includes
      
      * Create a Bmxx80 base class containing common functionality in this device family
      
      * Change BmxBase to Bmx280Base
      
      Which contains common functionality for the Bmx280 family of devices.
      
      * Update the existing BME280 and BMP280 devices to work with Bmx280Base
      
      * Calibration data only needs functionality from the Bmxx80Base class
      
      * Create an initial Bme680 device binding
      
      * Rename the comment and tidy the spacing
      
      * Move calibration data into its own folder
      
      * Add relative humidity, pressure and temperature functionality for the BME680
      
      * Remove the original Bme680 binding
      
      * Rename Bmx280 to Bmxx80
      
      * Update project reference for existing examples
      
      * Add example for the BME680
      
      * Update readme to include the BME680 sensor
      
      * Move sample project into the root of samples
      
      * Move all the properties for calibration data into the base class
      
      * Update power mode and device ID
      
      Let the device set it's ID, and power modes are different between the BME680 and BMX280 devices.
      
      * Update examples to use specific power modes
      
      * Add using for power mode
      
      * Device ID is only used in the constructor
      
      * Add licence
      
      * Make the base classes abstract
      
      * Add a brief description to the exception XML docs
      
      * Change internal to protected so that a class that is derived from that class can use it
      
      * Change to protected internal Calibration Data uses these methods but does not inherit from the device
      
      It now makes more sense to have the base calibration as a public abstract class.
      
      * These base registers are more useful if they're public
      
      * Use the new switch C# 8 feature
      
      * Update comment with a link to the datasheet
      
      * Validate that the given power mode matches the expected for the sensor
      
      * Remove properties in favour of just calling the Read methods
      
      * Merge branch 'master' into bme680
      
      * Merge BME280 - Humidity Support #435
      
      * Add link to datasheet
      
      * Use latest lang version
      
      * Bring the sample project changes for Bme280.sample over
      
      * Fix loss of precision during ReadPressureAsync
      
      * Update the power mode comments for Bmx280 to match the docs
      
      * Update Bme680.sample to use new SpiDevice.Create
      
      * Remove extra comment delimiter
      
      * Update to use new i2c namespace
      
      * Update example to use new i2c namespace
      
      * Remove unused usings
      
      * Add missing param comment
      
      * Update categorized device listing (#554) for BME680
      
      * Implement the Dispose pattern
      
      * Set TemperatureFine to int.MinValue for the Bmx280Base
      
      * Refactor SetPowerMode to combine both bitwise operations
      
      * Cast as StandbyTime
      
      * Cast as Bme680PowerMode
      
      * Make the BME680 methods Async and return a Task
      
      Done for consistency with other sensors in this family
      
      * await ReadTemperatureAsync for humidity
      
      * Change Main() to async Task
      
      * Remove the int.MinValue check from Bmx280Base pressure and Bme280 humidity
      
      * Read temperature before compensating pressure for Bme680
      d32ad7a6
    • D
      [master] Update dependencies from dotnet/iot (#611) · 45456924
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/iot build 20190719.3
      
      - Iot.Device.Bindings - 0.1.0-prerelease.19369.3
      - System.Device.Gpio - 0.1.0-prerelease.19369.3
      
      * Update dependencies from https://github.com/dotnet/iot build 20190721.1
      
      - Iot.Device.Bindings - 0.1.0-prerelease.19371.1
      - System.Device.Gpio - 0.1.0-prerelease.19371.1
      45456924
    • D
      Update dependencies from https://github.com/dotnet/arcade build 20190719.2 (#610) · 19ed0f48
      dotnet-maestro[bot] 提交于
      - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19369.2
      - Microsoft.DotNet.GenAPI - 1.0.0-beta.19369.2
      - Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19369.2
      19ed0f48
  4. 22 7月, 2019 3 次提交
  5. 20 7月, 2019 3 次提交
  6. 19 7月, 2019 3 次提交
  7. 18 7月, 2019 3 次提交
  8. 17 7月, 2019 1 次提交
  9. 16 7月, 2019 2 次提交
  10. 13 7月, 2019 4 次提交
  11. 12 7月, 2019 1 次提交
  12. 11 7月, 2019 2 次提交
  13. 10 7月, 2019 3 次提交
  14. 09 7月, 2019 1 次提交
  15. 08 7月, 2019 2 次提交
  16. 06 7月, 2019 2 次提交
    • K
      use new I2C APIs (#571) · cdafad96
      Krzysztof Wicher 提交于
      cdafad96
    • M
      Mcp3428 (#357) · 05318ee1
      Máté Kullai 提交于
      * First working prototype
      
      * And now after saving it, this one really works
      
      * Sample project
      
      * Document cleanup
      
      * Separated statics into Helper class
      
      * Async implementation
      
      * Other two parts of the MCP342x family
      
      * Readme
      
      * Fix build error
      
      * Removed C# 8 dependency for pull request
      
      * Done fritzing, never again
      
      * Input polarity fixed + readme
      
      * File headers
      
      * Formatting
      
      * Fix header + removed unused delegate
      
      * WIP: No separate class for async
      
      * Removed using static
      
      * Removed Console dependency,
      Renamed AddressFromPins
      
      * Removed unused interface
      
      * Merged partial class
      
      * Format
      
      * Review findings
      
      * Created base class for devices
      
      * Review findings
      05318ee1