1. 02 12月, 2022 1 次提交
    • L
      Adding GpioPin (#1895) · ddbfc0d9
      Laurent Ellerbach 提交于
      * Adding GpioPin
      
      * adjusting based on PR feedback
      
      * Adjusting to have natively drivers.
      
      * make methods virtual
      
      * adding Toggle to System.Device drivers
      
      * Board and Mcp23xxx adjustments
      
      * adding FT4222, FT232H and Pcx857x
      
      * adding Arduino and Seasaw
      
      * adjsting file encoding after conflict merge
      
      * Adding missing Toggle implementation in Arduino native
      
      * Adjusting test for new pattern with GpioPin
      
      * adjusting PR feedback
      
      * typo in test
      
      * fixing nit
      
      * fixing test
      
      * fixing test
      ddbfc0d9
  2. 11 11月, 2022 1 次提交
    • A
      mcp25xx add read and write methods (#1959) · 895d5e55
      Andrey Kozlov 提交于
      * add read and write methods for mcp2515
      
      * fix add file to sln
      
      * add bitrates and first test
      
      * add test to bitrate
      
      * set mode test
      
      * add examples
      
      * add to Readme read and write operations
      
      * delete tabs
      
      * use stackalloc
      
      * refactor bitrate
      
      * fix documentation
      add max message size
      
      * change read and write data to CanMessage object from byte array
      
      * separate canMessage to received and sending message
      
      * add tests
      
      * extract enum to another file
      
      * fix file formatting
      
      * Make reading work for test device
      
      Read should provide the data first, not test for it
      
      * ReadAllBuffers private
      
      * add ReceiveBuffer property to ReceivedCanMessage
      Co-authored-by: NPatrick Grawehr <pgrawehr@hotmail.com>
      895d5e55
  3. 07 11月, 2022 1 次提交
  4. 03 11月, 2022 2 次提交
  5. 25 10月, 2022 1 次提交
  6. 20 10月, 2022 1 次提交
    • K
      Add HX711 I2C weight sensor module (#1956) · b125fa13
      Krzysztof Wicher 提交于
      * Add HX711 I2C weight sensor module
      
      * More control over sampling rate (SampleAveraging, ReadWriteDelay) and other feedback
      
      * fix table with how to connect
      
      * Fix markdownlint error MD032
      
      * use new namespace syntax
      
      * bump LangVersion
      b125fa13
  7. 08 10月, 2022 1 次提交
  8. 07 10月, 2022 1 次提交
  9. 04 10月, 2022 2 次提交
  10. 30 9月, 2022 1 次提交
  11. 29 9月, 2022 2 次提交
    • P
      The call to Dns.GetHostEntry() may fail on MacOS (#1927) · eae8a70b
      Patrick Grawehr 提交于
      * The call to Dns.GetHostEntry() may fail on MacOS
      
      ... only ever seen there.
      
      * Build on one CPU only
      
      Maybe this avoids the concurrency problems?
      
      * Revert "Build on one CPU only"
      
      This reverts commit 7ee8124b4ceb5e31df7f74d7da4e908ad96aaac3.
      
      * Make sure there's only one .csproj per directory
      
      Therefore split up sample folders containing multiple
      projects into subfolders. This fixes the macOS build and
      also some weird issues on other operating systems (such
      as the debugger getting confused about which one to execute)
      
      * Also update the solution files
      eae8a70b
    • J
      fix call to GetIOException (issue 1928) (#1932) · aef8e764
      jdbruner 提交于
      aef8e764
  12. 22 9月, 2022 1 次提交
  13. 20 9月, 2022 1 次提交
  14. 15 9月, 2022 1 次提交
    • P
      "Arduino C# Compiler" (#1785) · 55a4ec02
      Patrick Grawehr 提交于
      This "compiler" (actually a metadata converter and code analyzer) can take a compiled Iot program written using the Arduino binding and flash it as a standalone application to an ESP32 or similar 32-bit microcontroller.
      
      Test and debug your application on the PC using the Arduino binding, and when everything works as expected, just flash it to the ESP32 and run it without the PC.
      
      There are still a lot of open ends, but several more-or-less complex programs already work (see the WeatherStation example). Further documentation (both on usage as well as on internals) is still to be written.
      
      See Readme for further instructions.
      55a4ec02
  15. 14 9月, 2022 1 次提交
  16. 11 8月, 2022 2 次提交
  17. 29 7月, 2022 1 次提交
    • P
      Fix a possible GC hole (#1890) · afbcb717
      Patrick Grawehr 提交于
      * Fix a possible GC hole
      
      See issue #1886. Will need another update when the
      new [RefEscapes] attribute is available, to make this
      finally really safe.
      
      Note: This removes the public AsSpan() method for
      netstandard2.0, because it cannot be made safe at all there.
      
      * Some attempt that ... doesn't work
      
      Because Span<T> does not implement any interfaces (a ref struct can't),
      this now fails to compile with the new API.
      
      * Remove AsSpan() altogether
      
      But rely on ValueArray implementing IReadOnlyList, which
      works just fine for our use cases.
      
      * Avoid an unnecessary boxing conversion
      
      * Avoid unnecessary memory allocation for foreach() loops
      
      * Add suppression for the now missing AsSpan() method
      
      * Remove ValueArray and adjust DHTxx accordingly
      
      * Update CompatibilitySuppressions.xml
      afbcb717
  18. 28 7月, 2022 1 次提交
  19. 14 7月, 2022 1 次提交
  20. 12 7月, 2022 1 次提交
  21. 08 7月, 2022 1 次提交
  22. 10 6月, 2022 2 次提交
    • F
      Add encoder support to Seesaw device (#1866) · 452483d2
      Florian Gschwandtner 提交于
      * Added initial support for Seesaw Rotary Encoder
      
      * Code cleanup
      
      * Improve XML comments
      
      * Code cleanup
      
      * Update Seesaw README.md
      
      * Rename EncoderDelta to GetEncoderDelta
      
      * Use interrupt to detect position and push switch changes
      
      * Update README.md to include encoder sample
      
      * Add missing comments and finish all comments with a dot
      452483d2
    • F
      Fixing an inverted timeout condition (#1871) · 68e50c97
      Fady Anwar 提交于
      Card reading timeout should happen when dtTimeout < DateTime.Now not the other way around, otherwise ListenToCardIso14443TypeA(out Data106kbpsTypeA card, TimeSpan timeout) will always return false. i.e. since dtTimeout is in the future it will be always greater than DateTime.Now
      68e50c97
  23. 04 6月, 2022 1 次提交
    • F
      Update README.md (#1870) · 43e66f21
      Fady Anwar 提交于
      Fixing a couple of compile time error on SPI usage sample code, a missing semicolon and a variable declaration
      43e66f21
  24. 21 5月, 2022 1 次提交
    • P
      Improve performance for large SPI buffer transfers (#1841) · 6be64b74
      Patrick Grawehr 提交于
      - Support waiting for SPI write commands. When using fast data rates, a buffer overrun
      will otherwise occur
      - Write SPI data in 7-bit encoding format (requires firmata update)
      - Make flow control parameter controllable from outside
      - Various stability fixes
      6be64b74
  25. 03 5月, 2022 1 次提交
  26. 21 4月, 2022 2 次提交
  27. 15 4月, 2022 1 次提交
  28. 14 4月, 2022 2 次提交
  29. 28 3月, 2022 1 次提交
  30. 21 3月, 2022 1 次提交
  31. 10 3月, 2022 2 次提交
  32. 09 3月, 2022 1 次提交