Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
275 johboh 1
/*********************************************************************
2
 *
3
 *   Header file for BLINDS routines.
4
 *
5
 *********************************************************************
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Include/blinds.h $
7
 * Last changed:    $LastChangedDate: 2007-02-03 16:58:13 +0100 (Sat, 03 Feb 2007) $
8
 * By:              $LastChangedBy: johboh $
9
 * Revision:        $Revision: 282 $
10
 ********************************************************************/
11
#ifndef BLINDS_H
12
#define BLINDS_H
13
 
14
#include <stackTasks.h>
15
#include <typedefs.h>
16
#include <delays.h>
17
#include <compiler.h>
18
 
276 johboh 19
 
275 johboh 20
#define TMR1_VAL 60536
277 johboh 21
// 0.05ms
22
// Fosc/4 = 10Mhz = 0,0000001
23
// 0.1ms = 500
275 johboh 24
 
25
void blindsInit(void);
26
 
282 johboh 27
void blindsTurn(signed char angle);
275 johboh 28
 
29
void blindsISR(void);
30
 
31
#endif