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 "uart.h" 00003 #include "interpret.h" 00004 00005 00006 //---------------------------------------------- 00007 // Info: 00008 // MCP23017 class is used from: Gobert Pierre, 13.04.2012 00009 // 00010 //---------------------------------------------- 00011 00012 //---------------------------------------------- 00013 // STATUS: 00014 // 2013-01-25: 00015 // - I2C communication with MCP23017 is running 00016 // - PT100, command 21 and 22 is working 00017 00018 //--------------------------------------- 00019 // Hardware recources 00020 //--------------------------------------- 00021 DigitalOut myled(LED1); 00022 00023 00024 //--------------------------------------- 00025 // Internal variables 00026 //--------------------------------------- 00027 00028 00029 //--------------------------------------- 00030 // External variables 00031 //--------------------------------------- 00032 00033 00034 00035 //--------------------------------------- 00036 // Global Functions 00037 //--------------------------------------- 00038 int main() { 00039 00040 UART_init(); 00041 INT_init(); 00042 00043 while(1) 00044 { 00045 INT_poll(); 00046 00047 }//while 00048 } 00049 00050 00051 00052 //--------------------------------------- 00053 // Internal Functions 00054 //---------------------------------------
Generated on Sat Jul 16 2022 03:23:51 by
