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:
- 18:7ec1691d0d9d
- Parent:
- 17:0ff7385db570
- Child:
- 19:4313ad838fef
diff -r 0ff7385db570 -r 7ec1691d0d9d main.cpp --- a/main.cpp Sat Apr 12 21:08:13 2014 +0000 +++ b/main.cpp Sat Apr 12 21:18:44 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 == 60){ + if(keypad_value_in == 61){ if(lcd_timeout_flag == false){ switch (ui_current_screen_in){ case 1: @@ -355,7 +355,7 @@ }// if block 36 end // check for setting screen press enter - if(keypad_value_in == 51){ + if(keypad_value_in == 58){ //Disable peltier ui_settings(); wait(5);