/* compass testing miniboard */

void v2x()
{
	comp_init(1);

	printf("\nCompass Init..\n");
	beep();
	
	start_process(take_readings());
}


void take_readings()
{
	int heading,tmp;

	while(1)
	{
		heading = head_word;
		printf("Heading %d (0x%x)\n", heading,head_word);
		sleep(0.5);  /* otherwise the display blinks! */
	}
}

/* int main()  */
/* {           */
/* 	v2x(); */
/* }           */

