1. 27 7月, 2019 3 次提交
  2. 25 7月, 2019 1 次提交
  3. 24 7月, 2019 2 次提交
  4. 23 7月, 2019 2 次提交
    • 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
  5. 22 7月, 2019 3 次提交
  6. 20 7月, 2019 1 次提交
  7. 19 7月, 2019 1 次提交
  8. 18 7月, 2019 1 次提交
    • G
      Better abstraction for PWM: PwmChannel (#576) · de70d68e
      Greg Ingram 提交于
      * Initial PwmChannel changes
      
      * Porting SoftwarePwm on top of PwmChannel so that bindings that use Pwm and SoftwarePwm can have common interface
      
      * Fix DCMotor, tiny fixes in Buzzer and SoftPwm
      
      * Adding windows IoT PwmChannel implementation
      
      * fix XML comment
      
      * remove Console.WriteLine from the product
      
      * Fixing README files and add xml comments
      de70d68e
  9. 13 7月, 2019 2 次提交
  10. 08 7月, 2019 1 次提交
  11. 06 7月, 2019 6 次提交
    • 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
    • K
      Categorized device listing (#554) · 26b722c2
      Krzysztof Wicher 提交于
      * Categorized device listing
      
      * move alphabetical device index into separate file
      26b722c2
    • J
      Adding Xml Docs to the package (#544) · 47f400a4
      Jose Perez Rodriguez 提交于
      * Adding Xml Docs to the package
      
      * Also Add xml docs to iot.device.bindings package
      47f400a4
    • A
      Fix ARM64 issue (#560) · f0b55761
      Andrew Gould 提交于
      f0b55761
    • G
      Random cleaning of SpiConnectionSettings (#564) · 63a85989
      Greg Ingram 提交于
      * Random cleaning of file
      
      * Added the 1 byte comment back
      63a85989
  12. 04 7月, 2019 3 次提交
  13. 03 7月, 2019 3 次提交
  14. 02 7月, 2019 5 次提交
    • G
      Rename SPI Structure (#545) · 3626cc63
      Greg Ingram 提交于
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Removed unused file
      
      * Removed unused file
      
      * Removed unused file
      
      * Removed unused file
      
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Removed unused file
      
      * Removed unused parameter and updated to new Create method
      3626cc63
    • G
      Rename i2c structure again (#543) · 9b56694a
      Greg Ingram 提交于
      * Remove unused file
      
      * Remove unused file
      
      * Rename namespace
      
      * Rename namespace and changed to internal
      
      * Removed unused file
      
      * Removed unused parameter
      
      * Updated namespace
      
      * Updated doc based on  unused parameter
      
      * Removed internal class references and updated parameter names
      
      * Fixed incorrect description from blame copy/paste
      
      * Updated to null check before disposing
      
      * Removed readonly to fix local build break
      
      * Updated bindings proj for build
      9b56694a
    • J
      80b8fdda
    • K
      Re-generate device listing (#538) · 65aa9c71
      Krzysztof Wicher 提交于
      * re-generate device listing
      
      * sort devices by title
      
      * tiny improvements to device titles
      65aa9c71
    • D
      [master] Update dependencies from dotnet/iot (#535) · ce75ecb2
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/iot build 20190627.1
      
      - Iot.Device.Bindings - 0.1.0-prerelease.19327.1
      - System.Device.Gpio - 0.1.0-prerelease.19327.1
      
      * Having bindings package to use a package reference for now in order to pass the build
      ce75ecb2
  15. 29 6月, 2019 1 次提交
    • G
      Rename I2C Drivers Folder (#533) · 833728c8
      Greg Ingram 提交于
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Moved to Devices folder
      
      * Updated namespace to Devices
      
      * Updated namespace to Devices
      
      * Updated namespace to Devices
      
      * Updated namespace to Devices
      
      * Revert "Updated namespace to Devices"
      
      This reverts commit 3044f1add3b02b814777cdb7542dbeed76efd915.
      
      * Revert "Updated namespace to Devices"
      
      This reverts commit 9f23b31f033f3cd6934d202516f3c9d0f382d837.
      
      * Revert "Updated namespace to Devices"
      
      This reverts commit 3816d7ad1e7072e48c5b4ed52041dc434d3b7eb4.
      
      * Revert "Revert "Updated namespace to Devices""
      
      This reverts commit 3d8394f074cd192748454caf8821100ae67de3bc.
      
      * Added using
      833728c8
  16. 27 6月, 2019 3 次提交
  17. 26 6月, 2019 1 次提交
    • G
      Added new I2cController and related support (#505) · 7f1d77b1
      Greg Ingram 提交于
      * Added new I2cController and related support
      
      * Add bus ID as part of way to manage devices
      
      * Made static
      
      * Removed static
      
      * Removed interop file and add partial class for controller
      
      * Changed to open/close device methods
      
      * Added TryGetDevice method
      
      * Added ShouldDispose property
      
      * Added more support for disposing
      
      * Enabled nullable in file to check builds
      
      * Missed the other file for enabling nullable
      
      * Added GetDevices and updated OpenDevice check
      
      * Updated to ConcurrentDictionary
      
      * Consolidated to only Create I2cDevice
      
      * Removed unused files
      
      * Removed until direction is determined
      
      * Moved Create under I2cDevice classes
      7f1d77b1
  18. 25 6月, 2019 1 次提交
    • G
      Update parameter name (#521) · bd46eacd
      Greg Ingram 提交于
      * Updated parameter name to be same as other device type
      
      * Updated parameter name to be same as other device type
      bd46eacd