We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Richard Lowe
Last Updated: 2013-09-19
Package Version: 1.0.0.3
Category: Measurement
Downloaded: 3360 times
Followed by: 1 user
License: MIT license
Easily add DS18x20 sensor functions to your project.
Do you want to subscribe in order to receive notifications regarding "DS18X20 One Wire Library" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "DS18X20 One Wire Library" changes.
Do you want to report abuse regarding "DS18X20 One Wire Library".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1379611841_ds18x20_one_wire_mikroc_avr.mpkg [25.15KB] | mikroC PRO for AVR |
|
1379611862_ds18x20_one_wire_mikroc_arm.mpkg [35.09KB] | mikroC PRO for ARM |
|
This is the first version. This library assumes that it is the only sensor on the bus. Sensor addressing is not yet supported.
Requirements: stdbool ( boolean definition file ) found on libstock
To use this library, you will need to edit the header file and define your port and pin.
Example:
//#define DS18X20_BASE_ADDRESS &PORTA
//#define DS18X20_PIN 3
#define DS18X20_BASE_ADDRESS &GPIOA_BASE
#define DS18X20_PIN 3