summaryrefslogtreecommitdiff
path: root/tags/firmware/Arduino/1.3/Single_Arduino_SNAP_v2/Single_Arduino_SNAP_v2.pde
blob: 1734093b935bf452dcec99b26fc346ae6367c82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
	Single_Arduino_SNAP_v2.pde - 2nd Generation RepRap Protocol

	History:
	* (0.1) Created initial version by Zach Smith.
	
	License: GPL v2.0
*/

//our library includes.
#include <HardwareSerial.h>
#include <SNAP.h>

void setup()
{
	snap.begin(19200);

	init_steppers();
	init_extruder();
	init_process_snap();
}

void loop()
{	
	extruder_manage_temperature();
	process_snap_packet();
}