Comments (3)
For this one, one thing I was planning to do is to get common static methods like the ones you suggest, and have that code live on a Common folder under src/devices. Once we have it there, then different device bindings can just add the specific .cs file they need to the Compile item if they require that functionality/method in their binding. In the end, we will package every bidning (and the common code as well) into one single library Iot.Device.Bindings.dll, so this would be a good way to avoid redundancy.
from iot.
@joperezr this makes sense and to be clear these were created at different times with different things in mind (although they now seem to overlap). APIs like BCD seem to fit more with the scenario of the graphics API in #178.
The bit manipulation API could also be useful outside IoT APIs, but still fits here as well. You can close this or #178 if you think only one is needed for the topic.
from iot.
I'll close this one because I feel is the more general question of where to put common code, which we now have an answer for. I'll keep #178 open to track the graphics library progress.
from iot.
Related Issues (20)
- Check alternatives to exposing LibGpiodDriverVersion enum
- GPIOController (PinChangeEventHandler): Assigning a PinChangeEventHandler callback or Controller.OpenPin() causes "Segmentation Error" HOT 20
- If define a PWM Output on , eg GPIO18 (pin12), Does it create a ValueChanged Event if I enable this ? HOT 6
- [Test Issue] GitHub Automation Testing HOT 1
- system.device.gpio is missing NuGet package README file HOT 2
- Add LIS3DSHTR to LIS3DHTR code HOT 4
- logical GPIO HOT 5
- UltralightCardType detect bug HOT 1
- TryReadNdefMessage can trim off terminator TLV (0xFE) causing validation to throw exception HOT 1
- System.Device.* HOT 2
- Won't open
- Iot.Device.Media VideoDevice Capture creates corrupt images with Raspberry PI Camera module 3 HOT 17
- I2S Missing HOT 3
- Does the library support TRF7970A? HOT 3
- FT232H Cannot register for pin value change events HOT 2
- Update Raspberry Pi samples suggesting modifying config.txt settings HOT 5
- Unable to set pin mode on pi5 HOT 4
- Breaking change: Y2038 support for .NET Arm32 HOT 1
- arix.local HOT 1
- Misleading XML summary for ButtonBase.IsPressed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot.