Skip to content

oa4ajp/raspberry-net-core-ds18b20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library DS18B20 for Net Core 2.0

This library allows you to read the temperature from the sensor DS18B20 connected to the Raspbery PI using Net Core 2.0.

In order to use the Library you must have installed the Net Core 2.0 runtime on your Raspberry Pi.

This Net Core Library requires the Shared Library libds18b20.so on the same location of the assembly LibraryDS18B20.dll

If you want to use this library for commercial projects please contact me to [email protected]

I'm including an example solution for Visual studio 2017, it uses the library LibraryDS18B20.dll

Usage:

int GetTemperature(string deviceId)

The deviceId parameter is the DS18B20 device id, for example if your device id is 28-031662b19cff, the Function call would be GetTemperature("28-031662b19cff").

Regards.

Alfredo Mendiola Loyola

About

Library to read temperature from the DS18B20

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages