![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
dd
Dependencies: BufferedSerial FastAnalogIn FastPWM mbed SHT75
Diff: main.cpp
- Revision:
- 10:c751a0e8b7f9
- Parent:
- 8:545391a4a102
--- a/main.cpp Thu Mar 31 14:01:49 2016 +0000 +++ b/main.cpp Mon Jul 11 01:05:52 2016 +0000 @@ -11,7 +11,7 @@ Ticker controltick; -AnalogIn temp_sensor_pin(p19); +AnalogIn temp_sensor_pin(p20); temp_sensor_t temp_sensor(&temp_sensor_pin); @@ -45,7 +45,7 @@ pc.printf("temperature start \n"); - controltick.attach(&peltier_control, 3);// sampling time + controltick.attach(&peltier_control, 10);// sampling time wait(10);