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 #include "LM61.h" 00002 #include "mbed.h" 00003 00004 LM61 lm61(p15); // Connect to Vout pin in LM61. 00005 Serial pc(USBTX, USBRX); 00006 00007 int main() { 00008 float temp; 00009 pc.baud(921600); 00010 00011 while(1) { 00012 temp = lm61.GetTemp(); 00013 pc.printf("Temp=%5.1f\r\n", temp); 00014 wait(1); 00015 } 00016 }
Generated on Mon Jul 25 2022 21:04:50 by
1.7.2