TB_Servo1.c is a Talking door lock using the TalkBotBrain PCB
and an RC servo to operate the doorlock.

This Tutorial is covered in detail on this web page;
www.TalkBotBrain.com/\tutorials\TB_Servo1.htm


/******************************************************************************
	TB_Servo1.c      v1.0    01 Oct 2009 - Roman Black
	This is a simple tutorial for demonstrating programming
	the TalkBot to move 1 servo and play a sound when the
	button is pressed. It was adapted directly from the
	TalkBot Slave1 firmware, with a few small changes to make it
	move 1 servo as required.

	Connections;
	PORTA.F0 servo output signal (just plug the servo connector in)
	Buttons; It uses the on-board button BUT2.

	Operation;
	When BUT2 is pressed, the servo toggles between;
	* full left (pulse = 1mS) and sound0 is played
	* full right (pulse = 2mS) and sound1 is played.

	Details;
	This can be used as a talking door lock, when the button is
	pressed the servo locks/unlocks the door, and says
	"door is locked/door is unlocked".

	For more info on this TalkBot tutorial see;
	www.TalkBotBrain.com/Tutorials.htm

// NOTE! Set TABS to 4
******************************************************************************/