TalkBot_Slave5.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_Slave5.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_Slave5 - It is a simple sound player,
	it does not drive servos. It plays 1 of 255 sounds.
	controlled by 8 parallel binary inputs 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.
	
	TalkBot1 uses a PIC 16F628 and 2x 24LC512 i2c eeproms (1Megabit).

	Slave 5; The 8 binary inputs are on;
	 PORTA 0-3
	 PORTB 4-7
	Unused inputs must be grounded or pulled low.
	Note! Inputs must be left as LOW ie; 0x00 for NOT playing.
	Then 0x01 plays sound0, 0x02 plays sound1, etc so the
	binary number on the 8 inputs is actually sound+1

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

******************************************************************************/