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.
main.cpp
00001 /** Hello code for "PCT2075" and "LM75B" */ 00002 00003 #include "mbed.h" 00004 #include "PCT2075.h" 00005 //#include "LM75B.h" 00006 00007 PCT2075 temp_sensor( p28, p27 ); 00008 //LM75B temp_sensor( p28, p27 ); 00009 00010 int main() 00011 { 00012 while(1) { 00013 printf( "temp = %7.3f\r\n", (float)temp_sensor ); 00014 wait( 1 ); 00015 } 00016 }
Generated on Wed Jul 13 2022 08:31:29 by
1.7.2