Project Autus - Automated Plant Chamber
Fork of keypad_test by
Autus
This is the codebase accompanying the project Autus.
Autus is an automated growth chamber for plants.
Features
Control Humidity inside chamber wrt to external humidity. Control Temperature inside chamber. ( Peltier Heaters/Coolers ) Water and shower plants. Control soil humidity. Monitor water tanks level (Load Cell)
Code Base Features
Fixed timing and CRC for DHT-11 Sensor. Fixed OneWire bug for ds18b20
Cyclic Executive Scheduler with Priority. Async IPC framework for PC App over bluetooth
Fake RTC systick, I was having some trouble with the on board rtc.
Diff: main.cpp
- Revision:
- 17:0ff7385db570
- Parent:
- 14:72176f1e4907
- Child:
- 18:7ec1691d0d9d
diff -r e4ed9a2d338a -r 0ff7385db570 main.cpp --- a/main.cpp Sat Apr 12 20:45:29 2014 +0000 +++ b/main.cpp Sat Apr 12 21:08:13 2014 +0000 @@ -328,7 +328,7 @@ //Function to process keypad inputs void process_user_input(char keypad_value_in, int ui_current_screen_in){ - if(keypad_value_in == 36){ + if(keypad_value_in == 60){ if(lcd_timeout_flag == false){ switch (ui_current_screen_in){ case 1: @@ -363,8 +363,7 @@ if(keypad_value_in ==100){ ui_screen1(); - wait(5); - + wait(0.2); } } @@ -473,7 +472,7 @@ //FOR BUZZER keypad_value = Keypad(); - wait(0.5); + wait(0.1); //timer1ms.detach(); //something lcd_timeout_check();