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: led_light/led_lights.h
- Revision:
- 37:892872c3fa96
- Parent:
- 7:1d691f81d455
--- a/led_light/led_lights.h Sun Apr 13 09:06:37 2014 +0000 +++ b/led_light/led_lights.h Mon Apr 14 00:52:14 2014 +0000 @@ -9,8 +9,14 @@ extern unsigned int led_pulsewidth; extern unsigned int led_step; +extern bool led_set_flag; +extern int MAX_RED_LIGHT; +extern int MAX_BLUE_LIGHT; +extern int MAX_GREEN_LIGHT; unsigned int pwm_blue_led(int brightness ); unsigned int pwm_green_led(int brightness); unsigned int pwm_red_led(int brightness); -void led_test(void); \ No newline at end of file +void led_test(void); +void turn_off_leds(); +void set_leds(); \ No newline at end of file