|
Open Garden
0.10.1-21
|
Main. More...
#include <stdlib.h>#include <string.h>#include <avr/interrupt.h>#include <avr/sleep.h>#include <util/delay.h>#include "i2c.h"#include "debug.h"#include "led.h"#include "date.h"#include "program.h"#include "queue.h"#include "cmdli.h"#include "usb.h"
Functions | |
| void | job_on_the_field (struct programs_t *progs, struct debug_t *debug, struct tm *tm_clock) |
| void | go_to_sleep (uint8_t valve, struct debug_t *debug) |
| int | main (void) |
Main.
| void go_to_sleep | ( | uint8_t | valve, |
| struct debug_t * | debug | ||
| ) |
Sleep function.
Which IO line is in use is recorded in the progs struct.
| void job_on_the_field | ( | struct programs_t * | progs, |
| struct debug_t * | debug, | ||
| struct tm * | tm_clock | ||
| ) |
The main function.
| int main | ( | void | ) |
main
1.8.13