Explain how to use term driver.
//register TERM device if (NutRegisterDevice(&devTerm0, 0, 0)) { NutPrintFormat(0, "Registering term device failed.\r\n"); } else { NutPrintFormat(0, "Registering term device sucess.\r\n"); } //open TERM devTerm = NutDeviceOpen("term0"); //init TERM (*devTerm->dev_init)(devTerm); //set reading time interwal for TERM SetReadTempInterval(devTerm, 1); NutSleep(1000); //read temperature float f = ReadTemp(devTerm);