Subversion Repositories HomeAutomation

Rev

Rev 275 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 275 Rev 276
Line 2... Line 2...
2
 *
2
 *
3
 *                  Main application
3
 *                  Main application
4
 *
4
 *
5
 *********************************************************************
5
 *********************************************************************
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Source/Main.c $
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Source/Main.c $
7
 * Last changed:    $LastChangedDate: 2007-01-30 12:34:06 +0100 (Tue, 30 Jan 2007) $
7
 * Last changed:    $LastChangedDate: 2007-01-30 12:53:25 +0100 (Tue, 30 Jan 2007) $
8
 * By:              $LastChangedBy: johboh $
8
 * By:              $LastChangedBy: johboh $
9
 * Revision:        $Revision: 275 $
9
 * Revision:        $Revision: 276 $
10
 ********************************************************************/
10
 ********************************************************************/
11
 
11
 
12
 
12
 
13
#include <compiler.h>
13
#include <compiler.h>
14
#include <stackTasks.h>
14
#include <stackTasks.h>
Line 62... Line 62...
62
            t = tickGet();
62
            t = tickGet();
63
        }
63
        }
64
 
64
 
65
        if ((tickGet()-blinds)>2*TICK_SECOND)
65
        if ((tickGet()-blinds)>2*TICK_SECOND)
66
        {
66
        {
67
            //blindsOpen(3000);
67
            //blindsTurn(MIDDLE,3000);
68
            blinds = tickGet();
68
            blinds = tickGet();
69
        }
69
        }
70
   
70
   
71
 
71
 
72
 
72