Project

General

Profile

Revision 1100

Timer experiments

View differences:

main.c
3 3

  
4 4
// Martin "deffi" Herrmann Test
5 5

  
6
uint8_t motors_on=0;
7

  
8 6
static void color_circle ()
9 7
{
10 8
   while(1)
......
85 83

  
86 84
	orb_init ();
87 85
	//delay_ms (1000);
88
	while (1);
86
	while (1)
89 87
	{
88
		orb_tick (0);
89
		delay_ms (1000);
90
	}
91
	
92
	{
90 93
		orb1_set (1,0,0);
91 94
		orb2_set (0,1,0);
92 95
		delay_ms (1000);

Also available in: Unified diff