summaryrefslogtreecommitdiff
path: root/trunk/reprap/miscellaneous/autoconf-firmware-old/devices/extruder/extruder.h
blob: 8fe0ee6cbc2dea42c8dede200d8e67d22387e0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _extruder_h
#define _extruder_h

#include "pic14.h"

void init2();
void processCommand();
void motorTick();
void timerTick();
void checkTemperature();

extern byte PWMPeriod;

// RA1 is A/D converter input
// RA3 is cooler output
// RA4 is LED output
// RA6,7 are used for A/D converter
//#define PORTATRIS BIN(00101001)
#define PORTATRIS BIN(00100001)

#endif