th
Dependents: condato_Coldchainlogger condato_Coldchainlogger
Diff: Thermistor.h
- Revision:
- 1:601e1435dfb8
- Parent:
- 0:000a8be2414d
- Child:
- 2:374faf195af3
--- a/Thermistor.h Wed Mar 09 13:52:45 2016 +0000 +++ b/Thermistor.h Wed Mar 09 13:56:37 2016 +0000 @@ -36,9 +36,27 @@ /// March 2016 /// /// @code +/// #include "mbed.h" +/// #include "Thermistor.h" +/// +/// Serial pc(USBTX, USBRX); +/// /// Thermistor bed(PTB10); -/// printf("Temperature is %f Celcius", bed.get_temperature()); -/// +/// Thermistor extruder(PTB11); +/// +/// int main() +/// { +/// pc.baud(115200); +/// pc.printf("\r\nThermistor Test - Build " __DATE__ " " __TIME__ "\r\n"); +/// +/// while(1) { +/// pc.printf("Bed Temperature %f *C\r\n",bed.get_temperature()); +/// wait(.5); +/// pc.printf("Extruder Temperature %f *C\r\n",extruder.get_temperature()); +/// wait(.5); +/// } +/// } + /// ... /// @endcode ///