TalkBot_Slave4.c is an optional firmware that can be used in the
TalkBotBrain instead of the original Slave1 firmware. To install this
firmware in the TalkBotBrain you will need a PIC programmer that can
in-circuit program the PIC 16F628.
For more info, see;
www.TalkBotBrain.com/TalkBot_SourceFiles.htm

/******************************************************************************
	TalkBot_Slave4.c      v1.0    29th July 2009 - Roman Black
	Open-source-firmware for TalkBotBrain product from BlackRobotics.com
	This firmware is open-source for use by legitimate owners
	who purchased a TalkBotBrain. All rights to the TalkBot hardware
	circuitry design remain property of BlackRobotics.

	This is TalkBot_Slave4 - It is a simple sound player,
	it does not drive servos. It plays 1 of 4 sounds, and is
	controlled by 4 buttons on PORTA and PORTB. It does not
	use RX or TX serial commands. It still does serial download
	of sound library from PC at 19200 baud.
	
	This is basically the same as Slave3 which uses 8 buttons
	but this Slave only uses 4 buttons and does not require
	any pull-up resistors.

	TalkBot1 uses a PIC 16F628 and 2x 24LC512 i2c eeproms (1Megabit).

	Slave 4; The 4 buttons are on;
	 PORTB 4-7 (using PIC PORTB internal pull-ups)
	Buttons are active low, they connect to ground to play the sound.
	The sounds to be played must be sounds 0-3.

	For more TalkBot applications and FREE Sound Library files;
	 www.TalkBotBrain.com

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