Giter VIP home page Giter VIP logo

jeremylindsayni / bifrost Goto Github PK

View Code? Open in Web Editor NEW
55.0 15.0 25.0 117 KB

Bifröst is an experimental project for developers who want to write .NET Core 2 applications that use IoT devices, and want to target Ubuntu and Windows with the same code.

Home Page: https://jeremylindsayni.wordpress.com/2017/04/18/write-net-core-2-once-run-anywhere-hardware-access-on-raspberry-pi-3-with-ubuntu-and-windows-10-iot-core/

License: MIT License

C# 86.58% PowerShell 12.51% Shell 0.91%
dotnet-core dotnetcore raspberry-pi-3 raspberry-pi-gpio dotnet-standard

bifrost's Introduction

Bifröst

Bifröst is an experimental project for developers who want to write .NET Core 2 applications that use IoT devices, and want to target Ubuntu and Windows with the same code.

bifrost's People

Contributors

barkermn01 avatar jeremylindsayni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bifrost's Issues

Access to paths in w10 iot using Core

Hey,
Im having some problems while using your libraries to manage gpio on mi rb pi 3 from my aspnet webapi core 2. When calling GpioController.Instance an error ocurred:

### fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HLB05C1JH9C2", Request id "0HLB05C1JH9C2:00000001": An unhandled exception was thrown by the application.
System.Exception: Could not find device path for Windows application ---> System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate)
at Bifrost.Devices.Gpio.GpioController.get_Instance() in C:\Users\alejandro\Documents\Visual Studio 2017\Projects\HomeApplication\Bifrost.Devices.Gpio\GpioController.cs:line 35
--- End of inner exception stack trace ---
at Bifrost.Devices.Gpio.GpioController.get_Instance() in C:\Users\alejandro\Documents\Visual Studio 2017\Projects\HomeApplication\Bifrost.Devices.Gpio\GpioController.cs:line 43

I obtained this error changing the references from nuget straight to your projects downloaded. Trying to figure it out, but probably you could be faster than me. Thanks in advance, let you know if i find smth.

issue with account name replacement

Hi!
First of all thanks for making this lib open, learned a bunch from your code and your blog posts.
I was having an issue with opening/writing pins.
Looks like the bridge is reading files from 'DefaultAccount', but I was running an app with my 'administrator' account (note lowercase a at the start), so it is writing to administrator/Packages
Line 29 in GPioController is doing the replacement for 'Administrator'. Maybe lowercase comparation is needed here

(Running a Pi 2 B with Win 10.0.15063.0)

Thanks!

Regards,
Diego

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.