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 "mbed.h" 00002 #include "I2cLCD.h" 00003 00004 I2cLCD lcd(p28, p27, p29); //sda scl reset 00005 AnalogIn ain(p15); 00006 00007 int main() { 00008 float tmp; 00009 00010 while(1) { 00011 lcd.locate(0,0); 00012 tmp = (ain - 0.1818)/0.00303; 00013 00014 lcd.printf("temple:%2.2f",tmp); 00015 00016 wait(0.5); 00017 00018 } 00019 }
Generated on Wed Jul 13 2022 20:55:07 by
1.7.2