1. 13 4月, 2019 2 次提交
  2. 11 4月, 2019 1 次提交
  3. 06 4月, 2019 1 次提交
  4. 01 4月, 2019 2 次提交
  5. 27 3月, 2019 1 次提交
    • M
      Add a Method to select default GPIO bank (#346) · 74c0ee8e
      Matheus Castello 提交于
      * Native: Libgpiod: Add GetNumberOfChips method
      
      Some SoCs have more than one GPIO bank. For these we gave more than one entry in /dev/:
      /dev/gpiochip0, /dev/gpiochip1 ... /dev/gpiochipX
      
      This patch add a method to return how many GPIO banks the hardware have.
      Signed-off-by: NMatheus Castello <matheus@castello.eng.br>
      
      * System.Device.Gpio: GpioController: Add SetDefaultGpioChip
      
      Some SoCs have more than one GPIO bank. For these we gave more than one entry in /dev/:
      /dev/gpiochip0, /dev/gpiochip1 ... /dev/gpiochipX
      
      This patch add a method to select the default GPIO bank to be used on the GpioController.
      If the hardware has only one GPIO bank (/dev/gpiochip0 like the rpi) it will be automatically set in
      the GpioController constructor. But if the hardware has more than one GPIO bank the bank to be used
      for GpioController operations should be defined.
      
      Ex: Access GPIO bank 3 (/dev/gpiochip3) line 17:
      
      GpioController gpioCtrl = new GpioController();
      gpioCtrl.SetDefaultGpioChip(3);
      gpioCtrl.OpenPin(17, PinMode.Output);
      Signed-off-by: NMatheus Castello <matheus@castello.eng.br>
      
      * System.Device.Gpio: LibGpioDriver: Implement SetDefaultGpioChip
      
      Some SoCs have more than one GPIO bank. For these we gave more than one entry in /dev/:
      /dev/gpiochip0, /dev/gpiochip1 ... /dev/gpiochipX
      
      This patch implement a method to select the default GPIO bank to be used on the GpioController.
      If the hardware has only one GPIO bank (/dev/gpiochip0 like the rpi) it will be automatically set in
      the GpioController constructor. But if the hardware has more than one GPIO bank the bank to be used
      for GpioController operations should be defined.
      
      Ex: Access GPIO bank 3 (/dev/gpiochip3) line 17:
      
      GpioController gpioCtrl = new GpioController();
      gpioCtrl.SetDefaultGpioChip(3);
      gpioCtrl.OpenPin(17, PinMode.Output);
      Signed-off-by: NMatheus Castello <matheus@castello.eng.br>
      
      * PR #346: Review: Fix Code Style indentation
      
      .net developers use four spaces (no tabs!)
      Signed-off-by: NMatheus Castello <matheus.castello@toradex.com>
      
      * PR #346: Review: Fix some typos and names
      Signed-off-by: NMatheus Castello <matheus.castello@toradex.com>
      
      * PR #346: Review: Get gpioChip handle by number
      
      Use gpiod_chip_open_by_number instead the iterator way
      Signed-off-by: NMatheus Castello <matheus@castello.eng.br>
      
      * PR #346: Review: Use driver constructor instead SetDefaultGpioChip
      Signed-off-by: NMatheus Castello <matheus@castello.eng.br>
      
      * PR #346: Review: Fix build remove _gpioChipIsSet
      Signed-off-by: NMatheus Castello <matheus@castello.eng.br>
      
      * PR #346: Review: Remove GetNumberOfChips
      Signed-off-by: NMatheus Castello <matheus@castello.eng.br>
      74c0ee8e
  6. 26 3月, 2019 1 次提交
    • L
      Adding suppport for TCS3472x (#269) · 8db9f599
      Laurent Ellerbach 提交于
      * Adding support for TCS3472x
      
      * Modified code based on PR feedbacks
      
      * fixing issues with Color type, renaming DefaultI2cAddress
      
      * Update following PR comments
      
      * Fixing some naming and adding comments
      
      * Modifications based on PR feedbacks
      
      * fixed latest issues based on PR feedbacks
      8db9f599
  7. 23 3月, 2019 1 次提交
  8. 22 3月, 2019 3 次提交
  9. 19 3月, 2019 2 次提交
  10. 17 3月, 2019 1 次提交
  11. 15 3月, 2019 1 次提交
  12. 13 3月, 2019 4 次提交
  13. 12 3月, 2019 1 次提交
  14. 11 3月, 2019 1 次提交
  15. 09 3月, 2019 1 次提交
    • S
      Update compilers to use the latest 3.0.0-beta3-final (#283) · 24b0cbf8
      Santiago Fernandez Madero 提交于
      * Update SDK to latest preview3 to get latest compilers
      
      * Fix packaging error with new compilers
      
      * Use the new unified package from roslyn
      
      * Import Compilers.props in devices props
      
      * Keep using PackageLicenseUrl given we're still using 2.1 sdk where it is no deprecated yet.
      
      * PR Feedback
      24b0cbf8
  16. 08 3月, 2019 3 次提交
    • K
      Create Coding-guidelines.md (#317) · 750f2c14
      Krzysztof Wicher 提交于
      750f2c14
    • G
      Added spi-write-bytes command (#303) · a500be26
      Greg Ingram 提交于
      * Updated various lines endings
      
      * Added new command
      
      * Random code cleans
      a500be26
    • J
      Factor LCD interaction (#309) · b96e56a8
      Jeremy Kuhne 提交于
      * Factor LCD interaction
      
      Add a layer to allow abstracting the difference between using direct pins or built-in I2C support for lcd driver chips that support it.
      
      Factoring set up to facilitate adding read functionality.
      
      Clarify I2c behavior/flags and add multi-byte send overloads. Improves sample perf test from 2048ms to 660ms.
      
      Factor setup code to include only appropriate steps for each interface.
      
      * Address feedback
      b96e56a8
  17. 07 3月, 2019 2 次提交
    • B
      dc1c9329
    • M
      Buzzer (#314) · bf5c8708
      Mikhail Bolshakov 提交于
      * Added Buzzer class and MelodyPlayer sample class
      
      * Minor changes to playing durations
      
      * Added alphabet song to sampels
      
      * Almost wrote a readme
      
      * Refactoring to samples
      
      * Added samples readme
      
      * Added wiring schema
      
      * Added device to devices list in a readme
      
      * Removed unnecessarry section from readme
      
      * Fixed readmes
      
      * Minor refactorings
      
      * Added new constructor to Buzzer
      
      * Renamed PlayTone method in Buzzer
      
      * Little fixes
      bf5c8708
  18. 06 3月, 2019 2 次提交
  19. 05 3月, 2019 6 次提交
  20. 04 3月, 2019 1 次提交
  21. 03 3月, 2019 1 次提交
  22. 01 3月, 2019 2 次提交
    • D
      Support for reading CPU temperature on Raspberry Pi. (#285) · b6de254e
      Dave Glover 提交于
      * Support for reading CPU temperature on Raspberry Pi.
      
      * renamed from RPi specific . Removed rounding
      
      * update to README
      
      * Added IsAvailable property
      
      * cached implementation of IsAvailable
      
      * Fixup braces
      b6de254e
    • S
      Add Mpr121 binding. (#286) · 51ae361c
      Sergey Razmyslov 提交于
      * Fix readme
      
      * Fixes.
      
      * Merge
      
      * Fix merge issues
      
      * Small fix
      
      * Fixed comments.
      
      * Fixed screenshot.
      
      * Fixed screenshot.
      
      * Fixed statuses.
      
      * Updated timer
      
      * Fixed comments
      
      * Small fix
      51ae361c