Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ds1621.h
- Committer:
- nullsub
- Date:
- 2010-11-02
- Revision:
- 0:0687b136fcab
File content as of revision 0:0687b136fcab:
#ifndef TEMPATURE_H
#define TEMPATURE_H
//---includes------
#include "mbed.h"
#include "debug.h"
#include <stdlib.h> // itoa
//------defines---------
#define DS1621_Write 0x90
#define DS1621_Read 0x91
I2C * init_tempature(I2C *interface);
void get_tempature(unsigned int adress, char * s); // adress of the i2c ds1621 sensor
#endif