Mercurial > ~darius > hgwebdir.cgi > sprink
annotate water.h @ 9:e591c74304a2
Add datasheets and links to boards
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sun, 15 Feb 2015 17:48:12 +1030 |
parents | 951277329ee6 |
children |
rev | line source |
---|---|
3
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
1 /* |
5
951277329ee6
Use splitargv instead of rolling our own.
Daniel O'Connor <darius@dons.net.au>
parents:
3
diff
changeset
|
2 * Copyright (c) 2015 |
3
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
3 * Daniel O'Connor <darius@dons.net.au>. All rights reserved. |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
4 * |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
5 * Redistribution and use in source and binary forms, with or without |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
6 * modification, are permitted provided that the following conditions |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
7 * are met: |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
8 * 1. Redistributions of source code must retain the above copyright |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
9 * notice, this list of conditions and the following disclaimer. |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
10 * 2. Redistributions in binary form must reproduce the above copyright |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
11 * notice, this list of conditions and the following disclaimer in the |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
12 * documentation and/or other materials provided with the distribution. |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
13 * |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
14 * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
17 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
24 * SUCH DAMAGE. |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
25 */ |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
26 |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
27 void water_init(void); |
5
951277329ee6
Use splitargv instead of rolling our own.
Daniel O'Connor <darius@dons.net.au>
parents:
3
diff
changeset
|
28 void water_cmd(int argc, char **argv); |
3
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
29 void water_update(void); |
e75ecd162da3
Add watering logic ressurected from 2013.
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
30 |