/*********************************************************************
*
* Header file for BLINDS routines.
*
*********************************************************************
* FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Include/blinds.h $
* Last changed: $LastChangedDate: 2007-01-30 12:34:06 +0100 (Tue, 30 Jan 2007) $
* By: $LastChangedBy: johboh $
* Revision: $Revision: 275 $
********************************************************************/
#ifndef BLINDS_H
#define BLINDS_H
#include <stackTasks.h>
#include <typedefs.h>
#include <delays.h>
#include <compiler.h>
#define TMR1_VAL 60536
// 0.5ms
// Tosc/4 = 10Mhz = 0,0000001
// .05ms = 5000
// 65536-5000 =
void blindsInit(void);
void blindsClose(WORD steps);
void blindsOpen(WORD steps);
void blindsStop(void);
void blindsISR(void);
#endif