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.
Dependencies: OLED160G1 mbed uOLED
Fork of DS18B20GSM by
DS18B20.h
00001 #ifndef _DS18B20_ 00002 #define _DS18B20_ 00003 00004 #include <stdint.h> 00005 #include "mbed.h" 00006 00007 // Device Faimly ID and Setial number information 00008 typedef union { 00009 uint8_t rom[8]; 00010 struct { 00011 uint8_t familyCode; 00012 uint8_t serialNo[6]; 00013 uint8_t CRC; 00014 } BYTES; 00015 } ROM_Code_t; 00016 00017 ROM_Code_t ReadROM() ; 00018 00019 // temperature is store as 7.4 fixed point format (assuming 12 bit conversion) 00020 void displayTemperature(Serial& s) ; 00021 void showTemperature(float *f); 00022 00023 #endif
Generated on Sat Jul 16 2022 02:01:30 by
1.7.2
